-
RemotePluginClientFactoryBuilder.NodeStep.withAsyncNode(org.eclipse.keyple.distributed.spi.AsyncEndpointClientSpi endpoint,
int timeoutSeconds)
Configures the service with a AsyncNodeClient
node.
Do not activate the reader observation.
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
occur before responds to the client.
This mode has the advantage of being more reactive.
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.