You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rsocket-core/api/rsocket-core.api
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -222,9 +222,9 @@ public final class io/rsocket/kotlin/core/RSocketConnectorBuilderKt {
222
222
}
223
223
224
224
public final class io/rsocket/kotlin/core/RSocketServer {
225
+
public final fun acceptConnection (Lio/rsocket/kotlin/ConnectionAcceptor;Lio/rsocket/kotlin/transport/RSocketConnection;)V
225
226
public final fun bind (Lio/rsocket/kotlin/transport/ServerTransport;Lio/rsocket/kotlin/ConnectionAcceptor;)Ljava/lang/Object;
226
227
public final fun bindIn (Lkotlinx/coroutines/CoroutineScope;Lio/rsocket/kotlin/transport/ServerTransport;Lio/rsocket/kotlin/ConnectionAcceptor;)Ljava/lang/Object;
227
-
public final fun createHandler (Lio/rsocket/kotlin/ConnectionAcceptor;)Lio/rsocket/kotlin/transport/RSocketConnectionHandler;
228
228
public final fun startServer (Lio/rsocket/kotlin/transport/RSocketServerTarget;Lio/rsocket/kotlin/ConnectionAcceptor;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
229
229
}
230
230
@@ -751,23 +751,18 @@ public final class io/rsocket/kotlin/transport/ClientTransportKt {
751
751
}
752
752
753
753
public abstract interface class io/rsocket/kotlin/transport/RSocketClientTarget : kotlinx/coroutines/CoroutineScope {
754
-
public abstract fun connectClient (Lio/rsocket/kotlin/transport/RSocketConnectionHandler;)Lkotlinx/coroutines/Job;
754
+
public abstract fun connectClient (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
755
755
}
756
756
757
-
public abstract interface class io/rsocket/kotlin/transport/RSocketConnection {
758
-
}
759
-
760
-
public abstract interface class io/rsocket/kotlin/transport/RSocketConnectionHandler {
761
-
public abstract fun handleConnection (Lio/rsocket/kotlin/transport/RSocketConnection;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
757
+
public abstract interface class io/rsocket/kotlin/transport/RSocketConnection : kotlinx/coroutines/CoroutineScope {
762
758
}
763
759
764
760
public abstract interface class io/rsocket/kotlin/transport/RSocketMultiplexedConnection : io/rsocket/kotlin/transport/RSocketConnection {
765
761
public abstract fun acceptStream (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
766
762
public abstract fun createStream (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
767
763
}
768
764
769
-
public abstract interface class io/rsocket/kotlin/transport/RSocketMultiplexedConnection$Stream : java/lang/AutoCloseable {
770
-
public abstract fun close ()V
765
+
public abstract interface class io/rsocket/kotlin/transport/RSocketMultiplexedConnection$Stream : kotlinx/coroutines/CoroutineScope {
771
766
public abstract fun isClosedForSend ()Z
772
767
public abstract fun receiveFrame (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
773
768
public abstract fun sendFrame (Lkotlinx/io/Buffer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -784,7 +779,7 @@ public abstract interface class io/rsocket/kotlin/transport/RSocketServerInstanc
784
779
}
785
780
786
781
public abstract interface class io/rsocket/kotlin/transport/RSocketServerTarget : kotlinx/coroutines/CoroutineScope {
787
-
public abstract fun startServer (Lio/rsocket/kotlin/transport/RSocketConnectionHandler;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
782
+
public abstract fun startServer (Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
788
783
}
789
784
790
785
public abstract interface class io/rsocket/kotlin/transport/RSocketTransport : kotlinx/coroutines/CoroutineScope {
Copy file name to clipboardExpand all lines: rsocket-internal-io/api/rsocket-internal-io.api
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,7 @@ public final class io/rsocket/kotlin/internal/io/ChannelsKt {
7
7
public final class io/rsocket/kotlin/internal/io/ContextKt {
8
8
public static final fun childContext (Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
9
9
public static final fun ensureActive (Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function0;)V
10
-
public static final fun launchCoroutine (Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
11
-
public static synthetic fun launchCoroutine$default (Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
10
+
public static final fun nonCancellable (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
12
11
public static final fun onCompletion (Lkotlinx/coroutines/Job;Lkotlin/jvm/functions/Function1;)Lkotlinx/coroutines/Job;
13
12
public static final fun supervisorContext (Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
Copy file name to clipboardExpand all lines: rsocket-transports/ktor-tcp/api/rsocket-transport-ktor-tcp.api
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,7 @@ public final class io/rsocket/kotlin/transport/ktor/tcp/KtorTcpClientTransport$F
8
8
}
9
9
10
10
public abstract interface class io/rsocket/kotlin/transport/ktor/tcp/KtorTcpClientTransportBuilder : io/rsocket/kotlin/transport/RSocketTransportBuilder {
11
-
public abstract fun dispatcher (Lkotlin/coroutines/CoroutineContext;)V
12
-
public fun inheritDispatcher ()V
13
11
public abstract fun selectorManager (Lio/ktor/network/selector/SelectorManager;Z)V
14
-
public abstract fun selectorManagerDispatcher (Lkotlin/coroutines/CoroutineContext;)V
15
12
public abstract fun socketOptions (Lkotlin/jvm/functions/Function1;)V
16
13
}
17
14
@@ -31,10 +28,7 @@ public final class io/rsocket/kotlin/transport/ktor/tcp/KtorTcpServerTransport$F
31
28
}
32
29
33
30
public abstract interface class io/rsocket/kotlin/transport/ktor/tcp/KtorTcpServerTransportBuilder : io/rsocket/kotlin/transport/RSocketTransportBuilder {
34
-
public abstract fun dispatcher (Lkotlin/coroutines/CoroutineContext;)V
35
-
public fun inheritDispatcher ()V
36
31
public abstract fun selectorManager (Lio/ktor/network/selector/SelectorManager;Z)V
37
-
public abstract fun selectorManagerDispatcher (Lkotlin/coroutines/CoroutineContext;)V
38
32
public abstract fun socketOptions (Lkotlin/jvm/functions/Function1;)V
Copy file name to clipboardExpand all lines: rsocket-transports/ktor-websocket-internal/api/rsocket-transport-ktor-websocket-internal.api
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
-
public final class io/rsocket/kotlin/transport/ktor/websocket/internal/KtorWebSocketConnectionKt {
2
-
public static final fun handleKtorWebSocketConnection (Lio/rsocket/kotlin/transport/RSocketConnectionHandler;Lio/ktor/websocket/WebSocketSession;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
1
+
public final class io/rsocket/kotlin/transport/ktor/websocket/internal/KtorWebSocketConnection : io/rsocket/kotlin/transport/RSocketSequentialConnection {
2
+
public fun <init> (Lio/ktor/websocket/WebSocketSession;)V
3
+
public fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext;
4
+
public fun isClosedForSend ()Z
5
+
public fun receiveFrame (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
6
+
public fun sendFrame (ILkotlinx/io/Buffer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
3
7
}
4
8
5
9
public final class io/rsocket/kotlin/transport/ktor/websocket/internal/WebSocketConnection : io/rsocket/kotlin/Connection, kotlinx/coroutines/CoroutineScope {
0 commit comments