|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maverick.sshd.ConnectionManager
public class ConnectionManager
This class holds the current sessions by TransportProtocol and ConnectionProtocol. The TransportProtocol objects can be used during authentication whilst the ConnectionProtocol objects can be used anytime after authentication. Do not attempt to get a ConnectionProtocol instance before or during user authentication as it is not created until the user has successfully authenticated.
| Method Summary | |
|---|---|
Connection[] |
getAllConnections()
|
Connection |
getConnectionById(java.lang.String sessionid)
|
static ConnectionManager |
getInstance()
Get the only instance of the ConnectionManager |
java.lang.String[] |
getLoggedOnUsers()
Get a list of currently logged on users. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConnectionManager getInstance()
public Connection getConnectionById(java.lang.String sessionid)
public Connection[] getAllConnections()
public java.lang.String[] getLoggedOnUsers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||