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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalServiceServerFactoryBuilder.BuilderStep
withAsyncNode(org.eclipse.keyple.distributed.spi.AsyncEndpointServerSpi endpoint)
Configures the service with aAsyncNodeServer
node.LocalServiceServerFactoryBuilder.BuilderStep
withSyncNode()
Configures the service with aSyncNodeServer
node.
-
-
-
Method Detail
-
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:
java.lang.IllegalArgumentException
- If the endpoint is null.- Since:
- 2.0.0
-
-