Package com.sshtools.j2ssh.subsystem
Class SubsystemMessage
- java.lang.Object
-
- com.sshtools.j2ssh.subsystem.SubsystemMessage
-
- Direct Known Subclasses:
SshFxpAttrs,SshFxpClose,SshFxpData,SshFxpFSetStat,SshFxpFStat,SshFxpHandle,SshFxpInit,SshFxpLStat,SshFxpMkdir,SshFxpName,SshFxpOpen,SshFxpOpenDir,SshFxpRead,SshFxpReadDir,SshFxpReadlink,SshFxpRealPath,SshFxpRemove,SshFxpRename,SshFxpRmdir,SshFxpSetStat,SshFxpStat,SshFxpStatus,SshFxpSymlink,SshFxpVersion,SshFxpWrite
public abstract class SubsystemMessage extends java.lang.Object- Version:
- $Revision: 1.19 $
- Author:
- $author$
-
-
Constructor Summary
Constructors Constructor Description SubsystemMessage(int type)Creates a new SubsystemMessage object.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidconstructByteArray(ByteArrayWriter baw)abstract voidconstructMessage(ByteArrayReader bar)voidfromByteArray(byte[] data)abstract java.lang.StringgetMessageName()intgetMessageType()byte[]toByteArray()
-
-
-
Method Detail
-
getMessageName
public abstract java.lang.String getMessageName()
- Returns:
-
getMessageType
public int getMessageType()
- Returns:
-
constructByteArray
public abstract void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException, java.io.IOException
- Parameters:
baw-- Throws:
InvalidMessageExceptionjava.io.IOException
-
constructMessage
public abstract void constructMessage(ByteArrayReader bar) throws InvalidMessageException, java.io.IOException
- Parameters:
bar-- Throws:
InvalidMessageExceptionjava.io.IOException
-
fromByteArray
public void fromByteArray(byte[] data) throws InvalidMessageException- Parameters:
data-- Throws:
InvalidMessageException
-
toByteArray
public byte[] toByteArray() throws InvalidMessageException- Returns:
- Throws:
InvalidMessageException
-
-