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: core/api/core.api
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ public final class kotlinx/rpc/RegisterFieldKt {
9
9
public static final fun registerStateFlowField (Lkotlinx/rpc/RpcClient;Lkotlinx/coroutines/CoroutineScope;Lkotlinx/rpc/descriptor/RpcServiceDescriptor;Ljava/lang/String;J)Lkotlinx/coroutines/flow/StateFlow;
10
10
}
11
11
12
-
public abstract interface class kotlinx/rpc/RemoteService : kotlinx/coroutines/CoroutineScope {
12
+
public abstract interface class kotlinx/rpc/RemoteService {
13
13
}
14
14
15
15
public final class kotlinx/rpc/RpcCall {
@@ -29,22 +29,17 @@ public final class kotlinx/rpc/RpcCall {
29
29
public fun toString ()Ljava/lang/String;
30
30
}
31
31
32
-
public abstract interface class kotlinx/rpc/RpcClient : kotlinx/coroutines/CoroutineScope {
32
+
public abstract interface class kotlinx/rpc/RpcClient {
33
33
public abstract fun call (Lkotlinx/rpc/RpcCall;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
34
-
public abstract fun callAsync (Lkotlinx/coroutines/CoroutineScope;Lkotlinx/rpc/RpcCall;)Lkotlinx/coroutines/Deferred;
35
34
public abstract fun callServerStreaming (Lkotlinx/rpc/RpcCall;)Lkotlinx/coroutines/flow/Flow;
36
-
public abstract fun provideStubContext (J)Lkotlin/coroutines/CoroutineContext;
37
-
}
38
-
39
-
public final class kotlinx/rpc/RpcClient$DefaultImpls {
40
-
public static fun callServerStreaming (Lkotlinx/rpc/RpcClient;Lkotlinx/rpc/RpcCall;)Lkotlinx/coroutines/flow/Flow;
41
35
}
42
36
43
37
public abstract interface annotation class kotlinx/rpc/RpcEagerField : java/lang/annotation/Annotation {
44
38
}
45
39
46
-
public abstract interface class kotlinx/rpc/RpcServer : kotlinx/coroutines/CoroutineScope {
47
-
public abstract fun registerService (Lkotlin/reflect/KClass;Lkotlin/jvm/functions/Function1;)V
40
+
public abstract interface class kotlinx/rpc/RpcServer {
41
+
public abstract fun deregisterService (Lkotlin/reflect/KClass;)V
42
+
public abstract fun registerService (Lkotlin/reflect/KClass;Lkotlin/jvm/functions/Function0;)V
48
43
}
49
44
50
45
public final class kotlinx/rpc/UninitializedRpcFieldException : java/lang/Exception {
public abstract class kotlinx/rpc/krpc/client/KrpcClient : kotlinx/rpc/krpc/internal/KrpcServiceHandler, kotlinx/rpc/RpcClient, kotlinx/rpc/krpc/internal/KrpcEndpoint {
1
+
public abstract class kotlinx/rpc/krpc/client/KrpcClient : kotlinx/rpc/RpcClient, kotlinx/rpc/krpc/internal/KrpcEndpoint {
2
2
public fun <init> (Lkotlinx/rpc/krpc/KrpcConfig$Client;Lkotlinx/rpc/krpc/KrpcTransport;)V
3
3
public final fun call (Lkotlinx/rpc/RpcCall;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
4
-
public fun callAsync (Lkotlinx/coroutines/CoroutineScope;Lkotlinx/rpc/RpcCall;)Lkotlinx/coroutines/Deferred;
5
-
public fun callServerStreaming (Lkotlinx/rpc/RpcCall;)Lkotlinx/coroutines/flow/Flow;
6
-
protected final fun getConfig ()Lkotlinx/rpc/krpc/KrpcConfig$Client;
7
-
public synthetic fun getConfig ()Lkotlinx/rpc/krpc/KrpcConfig;
8
-
public final fun getCoroutineContext ()Lkotlin/coroutines/CoroutineContext;
9
-
protected final fun getLogger ()Lkotlinx/rpc/krpc/internal/logging/RpcInternalCommonLogger;
4
+
public final fun callServerStreaming (Lkotlinx/rpc/RpcCall;)Lkotlinx/coroutines/flow/Flow;
public abstract interface class kotlinx/rpc/krpc/KrpcConfig {
2
2
public abstract fun getSerialFormatInitializer ()Lkotlinx/rpc/krpc/serialization/KrpcSerialFormatBuilder;
3
-
public abstract fun getSharedFlowBuilder ()Lkotlin/jvm/functions/Function0;
4
3
public abstract fun getWaitForServices ()Z
5
4
}
6
5
7
6
public final class kotlinx/rpc/krpc/KrpcConfig$Client : kotlinx/rpc/krpc/KrpcConfig {
8
7
public fun getSerialFormatInitializer ()Lkotlinx/rpc/krpc/serialization/KrpcSerialFormatBuilder;
9
-
public fun getSharedFlowBuilder ()Lkotlin/jvm/functions/Function0;
10
8
public fun getWaitForServices ()Z
11
9
}
12
10
13
11
public final class kotlinx/rpc/krpc/KrpcConfig$Server : kotlinx/rpc/krpc/KrpcConfig {
14
12
public fun getSerialFormatInitializer ()Lkotlinx/rpc/krpc/serialization/KrpcSerialFormatBuilder;
15
-
public fun getSharedFlowBuilder ()Lkotlin/jvm/functions/Function0;
16
13
public fun getWaitForServices ()Z
17
14
}
18
15
19
16
public abstract class kotlinx/rpc/krpc/KrpcConfigBuilder {
20
-
protected final fun getSharedFlowBuilder ()Lkotlin/jvm/functions/Function0;
21
17
public final fun getWaitForServices ()Z
22
18
protected final fun rpcSerialFormat ()Lkotlinx/rpc/krpc/serialization/KrpcSerialFormatBuilder;
23
19
public final fun serialization (Lkotlin/jvm/functions/Function1;)V
24
-
protected final fun setSharedFlowBuilder (Lkotlin/jvm/functions/Function0;)V
25
20
public final fun setWaitForServices (Z)V
26
-
public final fun sharedFlowParameters (Lkotlin/jvm/functions/Function1;)V
27
21
}
28
22
29
23
public final class kotlinx/rpc/krpc/KrpcConfigBuilder$Client : kotlinx/rpc/krpc/KrpcConfigBuilder {
@@ -36,17 +30,6 @@ public final class kotlinx/rpc/krpc/KrpcConfigBuilder$Server : kotlinx/rpc/krpc/
36
30
public final fun build ()Lkotlinx/rpc/krpc/KrpcConfig$Server;
37
31
}
38
32
39
-
public final class kotlinx/rpc/krpc/KrpcConfigBuilder$SharedFlowParametersBuilder {
40
-
public static final field DEFAULT_EXTRA_BUFFER_CAPACITY I
41
-
public static final field DEFAULT_REPLAY I
42
-
public final fun getExtraBufferCapacity ()I
43
-
public final fun getOnBufferOverflow ()Lkotlinx/coroutines/channels/BufferOverflow;
44
-
public final fun getReplay ()I
45
-
public final fun setExtraBufferCapacity (I)V
46
-
public final fun setOnBufferOverflow (Lkotlinx/coroutines/channels/BufferOverflow;)V
47
-
public final fun setReplay (I)V
48
-
}
49
-
50
33
public final class kotlinx/rpc/krpc/KrpcConfigKt {
51
34
public static final fun rpcClientConfig (Lkotlin/jvm/functions/Function1;)Lkotlinx/rpc/krpc/KrpcConfig$Client;
52
35
public static synthetic fun rpcClientConfig$default (Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lkotlinx/rpc/krpc/KrpcConfig$Client;
@@ -56,12 +39,11 @@ public final class kotlinx/rpc/krpc/KrpcConfigKt {
56
39
57
40
public abstract interface class kotlinx/rpc/krpc/KrpcTransport : kotlinx/coroutines/CoroutineScope {
58
41
public abstract fun receive (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
59
-
public abstract fun receiveCatching-IoAF18A (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
60
42
public abstract fun send (Lkotlinx/rpc/krpc/KrpcTransportMessage;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
61
43
}
62
44
63
-
public final class kotlinx/rpc/krpc/KrpcTransport$DefaultImpls {
64
-
public static fun receiveCatching-IoAF18A (Lkotlinx/rpc/krpc/KrpcTransport;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
45
+
public final class kotlinx/rpc/krpc/KrpcTransportKt {
46
+
public static final fun receiveCatching (Lkotlinx/rpc/krpc/KrpcTransport;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
65
47
}
66
48
67
49
public abstract interface class kotlinx/rpc/krpc/KrpcTransportMessage {
@@ -77,15 +59,3 @@ public final class kotlinx/rpc/krpc/KrpcTransportMessage$StringMessage : kotlinx
77
59
public final fun getValue ()Ljava/lang/String;
78
60
}
79
61
80
-
public final class kotlinx/rpc/krpc/StreamScope : java/lang/AutoCloseable {
81
-
public fun close ()V
82
-
}
83
-
84
-
public final class kotlinx/rpc/krpc/StreamScopeKt {
85
-
public static final fun StreamScope (Lkotlin/coroutines/CoroutineContext;)Lkotlinx/rpc/krpc/StreamScope;
86
-
public static final fun invokeOnStreamScopeCompletion (ZLkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
87
-
public static synthetic fun invokeOnStreamScopeCompletion$default (ZLkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
88
-
public static final fun streamScoped (Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
89
-
public static final fun withStreamScope (Lkotlinx/rpc/krpc/StreamScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
0 commit comments