Interface ClientInstance

  • All Known Implementing Classes:
    SocketClientInstance

    public interface ClientInstance
    Represents a ClientConnection from the server's point of view. This interface can be used by a ServerListener implementation to manage the incoming client connections, retrieve information about a particular connection, and send a message to a particular connection in the asynchronous message scenario.
    • Method Detail

      • send

        void send​(Message message,
                  Serializable messageKey)
        Send a message to this particular client using the asynch message key.
        Parameters:
        message - The message to send
        messageKey - The key sent with the asynch query