public class SshAgentForwardingNotice extends RFCAgentMessage
SSH_AGENT_ADD_KEY, SSH_AGENT_ALIVE, SSH_AGENT_DELETE_ALL_KEYS, SSH_AGENT_DELETE_KEY, SSH_AGENT_ERROR_DECRYPT_FAILED, SSH_AGENT_ERROR_DENIED, SSH_AGENT_ERROR_FAILURE, SSH_AGENT_ERROR_KEY_NOT_FOUND, SSH_AGENT_ERROR_KEY_NOT_SUITABLE, SSH_AGENT_ERROR_SIZE_ERROR, SSH_AGENT_ERROR_TIMEOUT, SSH_AGENT_ERROR_UNSUPPORTED_OP, SSH_AGENT_FAILURE, SSH_AGENT_FORWARDING_NOTICE, SSH_AGENT_KEY_LIST, SSH_AGENT_LIST_KEYS, SSH_AGENT_LOCK, SSH_AGENT_OPERATION_COMPLETE, SSH_AGENT_PING, SSH_AGENT_PRIVATE_KEY_OP, SSH_AGENT_RANDOM, SSH_AGENT_RANDOM_DATA, SSH_AGENT_REQUEST_VERSION, SSH_AGENT_SUCCESS, SSH_AGENT_UNLOCK, SSH_AGENT_VERSION, SSH_AGENT_VERSION_RESPONSE, SSH_MSG_USERAUTH_PK_OK
Constructor and Description |
---|
SshAgentForwardingNotice()
Creates a new SshAgentForwardingNotice object.
|
SshAgentForwardingNotice(String remoteHostname,
String remoteIPAddress,
int remotePort)
Creates a new SshAgentForwardingNotice object.
|
Modifier and Type | Method and Description |
---|---|
void |
constructByteArray(ByteArrayWriter baw) |
void |
constructMessage(ByteArrayReader bar) |
String |
getMessageName() |
String |
getRemoteHostname() |
String |
getRemoteIPAddress() |
int |
getRemotePort() |
fromByteArray, getMessageType, toByteArray
public SshAgentForwardingNotice()
public String getRemoteHostname()
public String getRemoteIPAddress()
public int getRemotePort()
public String getMessageName()
getMessageName
in class RFCAgentMessage
public void constructByteArray(ByteArrayWriter baw) throws IOException, InvalidMessageException
constructByteArray
in class RFCAgentMessage
baw
- IOException
com.maverick.agent.exceptions.j2ssh.transport.InvalidMessageException
- DOCUMENT
ME!InvalidMessageException
public void constructMessage(ByteArrayReader bar) throws IOException, InvalidMessageException
constructMessage
in class RFCAgentMessage
bar
- IOException
com.maverick.agent.exceptions.j2ssh.transport.InvalidMessageException
- DOCUMENT
ME!InvalidMessageException
Copyright © 2017. All rights reserved.