com.sshtools.j2ssh.agent
Class SshAgentForwardingNotice
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemMessage
com.sshtools.j2ssh.agent.SshAgentForwardingNotice
class SshAgentForwardingNotice
- extends SubsystemMessage
Constructor Summary |
SshAgentForwardingNotice()
Creates a new SshAgentForwardingNotice object. |
SshAgentForwardingNotice(java.lang.String remoteHostname,
java.lang.String remoteIPAddress,
int remotePort)
Creates a new SshAgentForwardingNotice object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSH_AGENT_FORWARDING_NOTICE
public static final int SSH_AGENT_FORWARDING_NOTICE
- See Also:
- Constant Field Values
remoteHostname
java.lang.String remoteHostname
remoteIPAddress
java.lang.String remoteIPAddress
remotePort
UnsignedInteger32 remotePort
SshAgentForwardingNotice
public SshAgentForwardingNotice()
- Creates a new SshAgentForwardingNotice object.
SshAgentForwardingNotice
public SshAgentForwardingNotice(java.lang.String remoteHostname,
java.lang.String remoteIPAddress,
int remotePort)
- Creates a new SshAgentForwardingNotice object.
- Parameters:
remoteHostname
- remoteIPAddress
- remotePort
-
getRemoteHostname
public java.lang.String getRemoteHostname()
- Returns:
getRemoteIPAddress
public java.lang.String getRemoteIPAddress()
- Returns:
getRemotePort
public int getRemotePort()
- Returns:
getMessageName
public java.lang.String getMessageName()
- Specified by:
getMessageName
in class SubsystemMessage
- Returns:
constructByteArray
public void constructByteArray(ByteArrayWriter baw)
throws java.io.IOException,
InvalidMessageException
- Specified by:
constructByteArray
in class SubsystemMessage
- Parameters:
baw
-
- Throws:
java.io.IOException
InvalidMessageException
- DOCUMENT
ME!
InvalidMessageException
constructMessage
public void constructMessage(ByteArrayReader bar)
throws java.io.IOException,
InvalidMessageException
- Specified by:
constructMessage
in class SubsystemMessage
- Parameters:
bar
-
- Throws:
java.io.IOException
InvalidMessageException
- DOCUMENT
ME!
InvalidMessageException