Interface CoreStitchServiceClient
-
- All Superinterfaces:
StitchServiceBinder
- All Known Implementing Classes:
CoreStitchServiceClientImpl
public interface CoreStitchServiceClient extends StitchServiceBinder
-
-
Method Summary
Modifier and Type Method Description voidbind(StitchServiceBinder binder)Bind a given service to this service client.voidcallFunction(String name, List<?> args)<T> TcallFunction(String name, List<?> args, Class<T> resultClass)<T> TcallFunction(String name, List<?> args, Class<T> resultClass, CodecRegistry codecRegistry)voidcallFunction(String name, List<?> args, Long requestTimeout)<T> TcallFunction(String name, List<?> args, Long requestTimeout, Class<T> resultClass)<T> TcallFunction(String name, List<?> args, Long requestTimeout, Class<T> resultClass, CodecRegistry codecRegistry)<T> TcallFunction(String name, List<?> args, Long requestTimeout, Decoder<T> resultDecoder)<T> TcallFunction(String name, List<?> args, Decoder<T> resultDecoder)CodecRegistrygetCodecRegistry()StringgetName()<T> Stream<T>streamFunction(String name, List<?> args, Decoder<T> decoder)CoreStitchServiceClientwithCodecRegistry(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:
IOExceptionInterruptedException
-
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
-
-