Class UserServer.BitToUserConnection

All Implemented Interfaces:
AutoCloseable, ConnectionThrottle, EncryptionContext, RemoteConnection, ServerConnection<UserServer.BitToUserConnection>, UserClientConnection
Enclosing class:
UserServer

public class UserServer.BitToUserConnection extends AbstractServerConnection<UserServer.BitToUserConnection> implements UserClientConnection
Represents a client connection accepted by Foreman Drillbit's UserServer from a DrillClient. This connection is used to get hold of UserSession which stores all session related information like session options changed over the lifetime of this connection. There is a 1:1 mapping between a BitToUserConnection and a UserSession. This connection object is also used to send query data and result back to the client submitted as part of the session tied to this connection.