public class AgentMessage
extends java.lang.Object
Constructor and Description |
---|
AgentMessage(int type) |
Modifier and Type | Method and Description |
---|---|
void |
constructByteArray(com.sshtools.common.util.ByteArrayWriter baw) |
void |
constructMessage(com.sshtools.common.util.ByteArrayReader bar) |
void |
fromByteArray(byte[] data) |
java.lang.String |
getMessageName() |
int |
getMessageType() |
byte[] |
toByteArray() |
public java.lang.String getMessageName()
public int getMessageType()
public void constructByteArray(com.sshtools.common.util.ByteArrayWriter baw) throws InvalidMessageException, java.io.IOException
baw
- InvalidMessageException
java.io.IOException
public void constructMessage(com.sshtools.common.util.ByteArrayReader bar) throws InvalidMessageException, java.io.IOException
bar
- InvalidMessageException
java.io.IOException
public void fromByteArray(byte[] data) throws InvalidMessageException
data
- InvalidMessageException
public byte[] toByteArray() throws InvalidMessageException
InvalidMessageException
Copyright © 2021. All rights reserved.