com.maverick.sshd
Class Connection
java.lang.Object
com.maverick.sshd.Connection
public class Connection
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Connection
public Connection()
addConnectionListener
public void addConnectionListener(ConnectionListener listener)
removeConnectionListener
public void removeConnectionListener(ConnectionListener listener)
getSessionId
public String getSessionId()
getUsername
public String getUsername()
getRemoteAddress
public String getRemoteAddress()
getRemotePort
public int getRemotePort()
getRemoteSocketAddress
public SocketAddress getRemoteSocketAddress()
getLocalSocketAddress
public SocketAddress getLocalSocketAddress()
getLocalAddress
public String getLocalAddress()
getLocalPort
public int getLocalPort()
isDisconnected
public boolean isDisconnected()
disconnect
public void disconnect(String reason)
removeProperty
public Object removeProperty(String name)
getProperty
public Object getProperty(String name)
setProperty
public void setProperty(String name,
Object val)
getPropertyNames
public Set getPropertyNames()
isAuthenticated
public boolean isAuthenticated()
getContext
public SshContext getContext()
fireClosing
protected void fireClosing(String reason)
fireClosed
protected void fireClosed(String reason)
Copyright © 2012. All Rights Reserved.