Package org.jcsp.lang

Interface Any2OneConnection<T>

    • Method Detail

      • client

        SharedAltingConnectionClient<T> client()
        Returns a client end of the connection. This may only be safely used by a single process but further calls will return new clients which may be used by other processes.
        Specified by:
        client in interface ConnectionWithSharedAltingClient<T>
        Returns:
        a new SharedAltingConnectionClient object.
      • server

        AltingConnectionServer<T> server()
        Returns the server end of the connection.
        Returns:
        the instance of the AltingConnectionServer.