RemotePluginClientFactoryBuilder.BuilderStep |
RemotePluginClientFactoryBuilder.NodeStep.withAsyncNode(org.eclipse.keyple.distributed.spi.AsyncEndpointClientSpi endpoint,
int timeoutSeconds) |
Configures the service with a AsyncNodeClient node.
|
RemotePluginClientFactoryBuilder.BuilderStep |
RemotePluginClientFactoryBuilder.SyncNodeReaderStep.withoutReaderObservation() |
Do not activate the reader observation.
|
RemotePluginClientFactoryBuilder.BuilderStep |
RemotePluginClientFactoryBuilder.ServerPushReaderEventStrategyStep.withReaderLongPollingStrategy(int requestTimeoutMillis) |
Long polling strategy : The client requests continuously the server to check for events.
This mode is blocking server side and more costly in resource for the server because if there
is no event, then the server keeps the hand during X milliseconds in case an event would
occurs before responds to the client.
This mode has the advantage of being more reactive.
|
RemotePluginClientFactoryBuilder.BuilderStep |
RemotePluginClientFactoryBuilder.ServerPushReaderEventStrategyStep.withReaderPollingStrategy(int requestFrequencyMillis) |
Polling strategy : The client requests the server every X milliseconds to check if there are
any events.
This mode is non-blocking server side and not very demanding on the server's resources
because if there are no events, then the server immediately responds to the client.
|