Interface CoreStitchServiceClient
-
- All Superinterfaces:
StitchServiceBinder
- All Known Implementing Classes:
CoreStitchServiceClientImpl
public interface CoreStitchServiceClient extends StitchServiceBinder
-
-
Method Summary
Modifier and Type Method Description void
bind(StitchServiceBinder binder)
Bind a given service to this service client.void
callFunction(String name, List<?> args)
<T> T
callFunction(String name, List<?> args, Class<T> resultClass)
<T> T
callFunction(String name, List<?> args, Class<T> resultClass, CodecRegistry codecRegistry)
void
callFunction(String name, List<?> args, Long requestTimeout)
<T> T
callFunction(String name, List<?> args, Long requestTimeout, Class<T> resultClass)
<T> T
callFunction(String name, List<?> args, Long requestTimeout, Class<T> resultClass, CodecRegistry codecRegistry)
<T> T
callFunction(String name, List<?> args, Long requestTimeout, Decoder<T> resultDecoder)
<T> T
callFunction(String name, List<?> args, Decoder<T> resultDecoder)
CodecRegistry
getCodecRegistry()
String
getName()
<T> Stream<T>
streamFunction(String name, List<?> args, Decoder<T> decoder)
CoreStitchServiceClient
withCodecRegistry(CodecRegistry codecRegistry)
-
Methods inherited from interface com.mongodb.stitch.core.services.internal.StitchServiceBinder
onRebindEvent
-
-
-
-
Method Detail
-
callFunction
<T> T callFunction(String name, List<?> args, Class<T> resultClass, CodecRegistry codecRegistry)
-
callFunction
<T> T callFunction(String name, List<?> args, @Nullable Long requestTimeout, Decoder<T> resultDecoder)
-
callFunction
<T> T callFunction(String name, List<?> args, @Nullable Long requestTimeout, Class<T> resultClass)
-
callFunction
<T> T callFunction(String name, List<?> args, @Nullable Long requestTimeout, Class<T> resultClass, CodecRegistry codecRegistry)
-
streamFunction
<T> Stream<T> streamFunction(String name, List<?> args, Decoder<T> decoder) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
getCodecRegistry
CodecRegistry getCodecRegistry()
-
withCodecRegistry
CoreStitchServiceClient withCodecRegistry(CodecRegistry codecRegistry)
-
bind
void bind(StitchServiceBinder binder)
Bind a given service to this service client.- Parameters:
binder
- the service binder that links the service to this client
-
-