Package com.sshtools.agent.rfc
Class SshAgentRandom
java.lang.Object
com.sshtools.agent.AgentMessage
com.sshtools.agent.rfc.SshAgentRandom
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SshAgentRandom object.SshAgentRandom
(int length) Creates a new SshAgentRandom 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
-
SshAgentRandom
public SshAgentRandom()Creates a new SshAgentRandom object. -
SshAgentRandom
public SshAgentRandom(int length) Creates a new SshAgentRandom object.- Parameters:
length
-
-
-
Method Details
-
getLength
public int getLength()- 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.sshtools.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.sshtools.j2ssh.transport.InvalidMessageException
- DOCUMENT ME!InvalidMessageException
-