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
- Version:
- $Revision: 1.19 $
- Author:
- $author$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
abstract void
void
fromByteArray
(byte[] data) abstract String
int
byte[]
-
Constructor Details
-
SubsystemMessage
public SubsystemMessage(int type) Creates a new SubsystemMessage object.- Parameters:
type
-
-
-
Method Details
-
getMessageName
- Returns:
-
getMessageType
public int getMessageType()- Returns:
-
constructByteArray
public abstract void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException, IOException - Parameters:
baw
-- Throws:
InvalidMessageException
IOException
-
constructMessage
public abstract void constructMessage(ByteArrayReader bar) throws InvalidMessageException, IOException - Parameters:
bar
-- Throws:
InvalidMessageException
IOException
-
fromByteArray
- Parameters:
data
-- Throws:
InvalidMessageException
-
toByteArray
- Returns:
- Throws:
InvalidMessageException
-