Package org.eclipse.keyple.distributed
Interface RemotePluginServerFactoryBuilder.NodeStep
- Enclosing class:
- RemotePluginServerFactoryBuilder
public static interface RemotePluginServerFactoryBuilder.NodeStep
Step to configure the node associated with the service.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionwithAsyncNode
(org.eclipse.keyple.distributed.spi.AsyncEndpointServerSpi endpoint) Configures the service with aAsyncNodeServer
node.Configures the service with aSyncNodeServer
node.
-
Method Details
-
withSyncNode
RemotePluginServerFactoryBuilder.BuilderStep withSyncNode()Configures the service with aSyncNodeServer
node.- Returns:
- Next configuration step.
- Since:
- 2.0.0
-
withAsyncNode
RemotePluginServerFactoryBuilder.BuilderStep withAsyncNode(org.eclipse.keyple.distributed.spi.AsyncEndpointServerSpi endpoint) Configures the service with aAsyncNodeServer
node.- Parameters:
endpoint
- TheAsyncEndpointServerSpi
network endpoint to use.- Returns:
- Next configuration step.
- Throws:
IllegalArgumentException
- If the endpoint is null.- Since:
- 2.0.0
-