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 aAsyncNodeServernode.Configures the service with aSyncNodeServernode.
-
Method Details
-
withSyncNode
LocalServiceServerFactoryBuilder.BuilderStep withSyncNode()Configures the service with aSyncNodeServernode.- Returns:
- Next configuration step.
- Since:
- 2.0.0
-
withAsyncNode
LocalServiceServerFactoryBuilder.BuilderStep withAsyncNode(org.eclipse.keyple.distributed.spi.AsyncEndpointServerSpi endpoint) Configures the service with aAsyncNodeServernode.- Parameters:
endpoint- TheAsyncEndpointServerSpinetwork endpoint to use.- Returns:
- Next configuration step.
- Throws:
IllegalArgumentException- If the endpoint is null.- Since:
- 2.0.0
-