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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.teiid.core.crypto.Cryptor getCryptor()  
      org.teiid.dqp.internal.process.DQPWorkContext getWorkContext()  
      void send​(org.teiid.net.socket.Message message, Serializable messageKey)
      Send a message to this particular client using the asynch message key.
      void shutdown()
      Shutdown the server's connection to the client.
    • Method Detail

      • send

        void send​(org.teiid.net.socket.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
      • shutdown

        void shutdown()
               throws org.teiid.net.CommunicationException
        Shutdown the server's connection to the client.
        Throws:
        org.teiid.net.CommunicationException - If an error occurs during the shutdown
      • getCryptor

        org.teiid.core.crypto.Cryptor getCryptor()
      • getWorkContext

        org.teiid.dqp.internal.process.DQPWorkContext getWorkContext()