Class StandardLauncher<T>

  • All Implemented Interfaces:
    Launcher<T>

    public class StandardLauncher<T>
    extends java.lang.Object
    implements Launcher<T>
    • Method Detail

      • startListening

        public java.util.concurrent.Future<java.lang.Void> startListening()
        Description copied from interface: Launcher
        Start a thread that listens to the input stream. The thread terminates when the stream is closed.
        Specified by:
        startListening in interface Launcher<T>
        Returns:
        a future that returns null when the listener thread is terminated
      • getRemoteProxy

        public T getRemoteProxy()
        Description copied from interface: Launcher
        Returns the proxy instance that implements the remote service interfaces.
        Specified by:
        getRemoteProxy in interface Launcher<T>
      • getRemoteEndpoint

        public RemoteEndpoint getRemoteEndpoint()
        Description copied from interface: Launcher
        Returns the remote endpoint. Use this one to send generic request or notify methods to the remote services.
        Specified by:
        getRemoteEndpoint in interface Launcher<T>