Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemMessage
public abstract class SubsystemMessage
extends java.lang.Object
Constructor Summary | |
|
Method Summary | |
abstract void | |
abstract void | |
void |
|
abstract String | |
int | |
byte[] |
public SubsystemMessage(int type)
Creates a new SubsystemMessage object.
- Parameters:
type
-
public abstract void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException, IOException
- Parameters:
baw
-
- Throws:
InvalidMessageException
-
public abstract void constructMessage(ByteArrayReader bar) throws InvalidMessageException, IOException
- Parameters:
bar
-
- Throws:
InvalidMessageException
-
public void fromByteArray(byte[] data) throws InvalidMessageException
- Parameters:
data
-
- Throws:
InvalidMessageException
-
public abstract String getMessageName()
- Returns:
public int getMessageType()
- Returns:
public byte[] toByteArray() throws InvalidMessageException
- Returns:
- Throws:
InvalidMessageException
-