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, wait
createIoLauncher, createIoLauncher, createIoLauncher, createIoLauncher, createLauncher, createLauncher, createLauncher
public 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()
Launcher
startListening
in interface Launcher<T>
null
when the listener thread is terminatedpublic T getRemoteProxy()
Launcher
getRemoteProxy
in interface Launcher<T>
public RemoteEndpoint getRemoteEndpoint()
Launcher
request
or notify
methods
to the remote services.getRemoteEndpoint
in interface Launcher<T>