public final class PoolLocalServiceServerUtils
extends java.lang.Object
PoolLocalServiceServer.| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.keyple.distributed.AsyncNodeServer |
getAsyncNode()
Gets the
AsyncNodeServer node associated to the local service having the default name. |
static org.eclipse.keyple.distributed.AsyncNodeServer |
getAsyncNode(java.lang.String serviceName)
Gets the
AsyncNodeServer node associated to the local service having the provided name. |
static org.eclipse.keyple.distributed.SyncNodeServer |
getSyncNode()
Gets the
SyncNodeServer node associated to the local service having the provided name. |
static org.eclipse.keyple.distributed.SyncNodeServer |
getSyncNode(java.lang.String serviceName)
Gets the
SyncNodeServer node associated to the local service having the provided name. |
public static org.eclipse.keyple.distributed.AsyncNodeServer getAsyncNode()
AsyncNodeServer node associated to the local service having the default name.java.lang.IllegalStateException - If the service is not initialized or is not configured with a
AsyncNodeServer node.public static org.eclipse.keyple.distributed.AsyncNodeServer getAsyncNode(java.lang.String serviceName)
AsyncNodeServer node associated to the local service having the provided name.serviceName - The identifier of the local service.java.lang.IllegalArgumentException - If the service name is null.java.lang.IllegalStateException - If the service is not initialized or is not configured with a
AsyncNodeServer node.public static org.eclipse.keyple.distributed.SyncNodeServer getSyncNode()
SyncNodeServer node associated to the local service having the provided name.java.lang.IllegalStateException - If the service is not initialized or is not configured with a
SyncNodeServer node.public static org.eclipse.keyple.distributed.SyncNodeServer getSyncNode(java.lang.String serviceName)
SyncNodeServer node associated to the local service having the provided name.serviceName - The identifier of the local service.java.lang.IllegalArgumentException - If the service name is null.java.lang.IllegalStateException - If the service is not initialized or is not configured with a
SyncNodeServer node.