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 void
constructByteArray(ByteArrayWriter baw)
abstract void
constructMessage(ByteArrayReader bar)
void
fromByteArray(byte[] data)
abstract java.lang.String
getMessageName()
int
getMessageType()
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:
InvalidMessageException
java.io.IOException
-
constructMessage
public abstract void constructMessage(ByteArrayReader bar) throws InvalidMessageException, java.io.IOException
- Parameters:
bar
-- Throws:
InvalidMessageException
java.io.IOException
-
fromByteArray
public void fromByteArray(byte[] data) throws InvalidMessageException
- Parameters:
data
-- Throws:
InvalidMessageException
-
toByteArray
public byte[] toByteArray() throws InvalidMessageException
- Returns:
- Throws:
InvalidMessageException
-
-