Launcher.Builder<T>| Constructor and Description |
|---|
StandardLauncher(java.util.concurrent.ExecutorService execService2,
T remoteProxy2,
RemoteEndpoint remoteEndpoint2,
ConcurrentMessageProcessor msgProcessor) |
StandardLauncher(StreamMessageProducer reader,
MessageConsumer messageConsumer,
java.util.concurrent.ExecutorService execService,
T remoteProxy,
RemoteEndpoint remoteEndpoint) |
| Modifier and Type | Method and Description |
|---|---|
RemoteEndpoint |
getRemoteEndpoint()
Returns the remote endpoint.
|
T |
getRemoteProxy()
Returns the proxy instance that implements the remote service interfaces.
|
java.util.concurrent.Future<java.lang.Void> |
startListening()
Start a thread that listens to the input stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateIoLauncher, createIoLauncher, createIoLauncher, createIoLauncher, createLauncher, createLauncher, createLauncherpublic StandardLauncher(StreamMessageProducer reader, MessageConsumer messageConsumer, java.util.concurrent.ExecutorService execService, T remoteProxy, RemoteEndpoint remoteEndpoint)
public StandardLauncher(java.util.concurrent.ExecutorService execService2,
T remoteProxy2,
RemoteEndpoint remoteEndpoint2,
ConcurrentMessageProcessor msgProcessor)
public java.util.concurrent.Future<java.lang.Void> startListening()
LauncherstartListening in interface Launcher<T>null when the listener thread is terminatedpublic T getRemoteProxy()
LaunchergetRemoteProxy in interface Launcher<T>public RemoteEndpoint getRemoteEndpoint()
Launcherrequest or notify methods
to the remote services.getRemoteEndpoint in interface Launcher<T>