Package com.sshtools.agent.rfc
Class SshAgentForwardingNotice
java.lang.Object
com.sshtools.agent.AgentMessage
com.sshtools.agent.rfc.SshAgentForwardingNotice
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SshAgentForwardingNotice object.SshAgentForwardingNotice
(String remoteHostname, String remoteIPAddress, int remotePort) Creates a new SshAgentForwardingNotice object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
constructByteArray
(com.sshtools.common.util.ByteArrayWriter baw) void
constructMessage
(com.sshtools.common.util.ByteArrayReader bar) int
Methods inherited from class com.sshtools.agent.AgentMessage
fromByteArray, getMessageType, toByteArray
-
Constructor Details
-
SshAgentForwardingNotice
public SshAgentForwardingNotice()Creates a new SshAgentForwardingNotice object. -
SshAgentForwardingNotice
Creates a new SshAgentForwardingNotice object.- Parameters:
remoteHostname
-remoteIPAddress
-remotePort
-
-
-
Method Details
-
getRemoteHostname
- Returns:
-
getRemoteIPAddress
- Returns:
-
getRemotePort
public int getRemotePort()- Returns:
-
getMessageName
- Overrides:
getMessageName
in classAgentMessage
- Returns:
-
constructByteArray
public void constructByteArray(com.sshtools.common.util.ByteArrayWriter baw) throws IOException, InvalidMessageException - Overrides:
constructByteArray
in classAgentMessage
- Parameters:
baw
-- Throws:
IOException
com.maverick.agent.exceptions.j2ssh.transport.InvalidMessageException
- DOCUMENT ME!InvalidMessageException
-
constructMessage
public void constructMessage(com.sshtools.common.util.ByteArrayReader bar) throws IOException, InvalidMessageException - Overrides:
constructMessage
in classAgentMessage
- Parameters:
bar
-- Throws:
IOException
com.maverick.agent.exceptions.j2ssh.transport.InvalidMessageException
- DOCUMENT ME!InvalidMessageException
-