Package org.teiid.transport
Interface ClientInstance
-
- All Known Implementing Classes:
SocketClientInstance
public interface ClientInstanceRepresents 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.CryptorgetCryptor()org.teiid.dqp.internal.process.DQPWorkContextgetWorkContext()voidsend(org.teiid.net.socket.Message message, Serializable messageKey)Send a message to this particular client using the asynch message key.voidshutdown()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 sendmessageKey- The key sent with the asynch query
-
shutdown
void shutdown() throws org.teiid.net.CommunicationExceptionShutdown 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()
-
-