public interface ServerSession extends Session
Session.AttributeKey<T>, Session.TimeoutStatus| Modifier and Type | Method and Description |
|---|---|
int |
getActiveSessionCountForUser(String userName)
Retrieve the current number of sessions active for a given username.
|
ServerFactoryManager |
getFactoryManager() |
KeyPair |
getHostKey() |
addListener, createBuffer, createBuffer, disconnect, exceptionCaught, getAttribute, getAuthTimeout, getClientVersion, getIdleTimeout, getIntProperty, getIoSession, getKex, getNegotiatedKexParameter, getServerVersion, getService, getSessionId, getTimeoutStatus, getUsername, isAuthenticated, reExchangeKeys, removeListener, request, resetIdleTimeout, setAttribute, setAuthenticated, setUsername, startService, writePacket, writePacketServerFactoryManager getFactoryManager()
getFactoryManager in interface SessionServerFactoryManager for this sessionKeyPair getHostKey()
KeyPair representing the current session's used keys
on KEXint getActiveSessionCountForUser(String userName)
userName - The name of the user - ignored if null/emptySshSession objects associated with the userCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.