Package org.eclipse.keyple.distributed
Interface LocalServiceServerFactoryBuilder.NodeStep
- Enclosing class:
- LocalServiceServerFactoryBuilder
public static interface LocalServiceServerFactoryBuilder.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
LocalServiceServerFactoryBuilder.BuilderStep withSyncNode()Configures the service with aSyncNodeServer
node.- Returns:
- Next configuration step.
- Since:
- 2.0.0
-
withAsyncNode
LocalServiceServerFactoryBuilder.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
-