com.sshtools.j2ssh.agent
Class SshAgentFailure
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemMessage
com.sshtools.j2ssh.agent.SshAgentFailure
class SshAgentFailure
- extends SubsystemMessage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSH_AGENT_FAILURE
public static final int SSH_AGENT_FAILURE
- See Also:
- Constant Field Values
SSH_AGENT_ERROR_TIMEOUT
public static final int SSH_AGENT_ERROR_TIMEOUT
- See Also:
- Constant Field Values
SSH_AGENT_ERROR_KEY_NOT_FOUND
public static final int SSH_AGENT_ERROR_KEY_NOT_FOUND
- See Also:
- Constant Field Values
SSH_AGENT_ERROR_DECRYPT_FAILED
public static final int SSH_AGENT_ERROR_DECRYPT_FAILED
- See Also:
- Constant Field Values
SSH_AGENT_ERROR_SIZE_ERROR
public static final int SSH_AGENT_ERROR_SIZE_ERROR
- See Also:
- Constant Field Values
SSH_AGENT_ERROR_KEY_NOT_SUITABLE
public static final int SSH_AGENT_ERROR_KEY_NOT_SUITABLE
- See Also:
- Constant Field Values
SSH_AGENT_ERROR_DENIED
public static final int SSH_AGENT_ERROR_DENIED
- See Also:
- Constant Field Values
SSH_AGENT_ERROR_FAILURE
public static final int SSH_AGENT_ERROR_FAILURE
- See Also:
- Constant Field Values
SSH_AGENT_ERROR_UNSUPPORTED_OP
public static final int SSH_AGENT_ERROR_UNSUPPORTED_OP
- See Also:
- Constant Field Values
errorcode
private int errorcode
SshAgentFailure
public SshAgentFailure()
- Creates a new SshAgentFailure object.
SshAgentFailure
public SshAgentFailure(int errorcode)
- Creates a new SshAgentFailure object.
- Parameters:
errorcode
-
getMessageName
public java.lang.String getMessageName()
- Specified by:
getMessageName
in class SubsystemMessage
- Returns:
getErrorCode
public int getErrorCode()
- 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