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 voidabstract voidvoidfromByteArray(byte[] data) abstract Stringintbyte[]
-
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:
InvalidMessageExceptionIOException
-
constructMessage
public abstract void constructMessage(ByteArrayReader bar) throws InvalidMessageException, IOException - Parameters:
bar-- Throws:
InvalidMessageExceptionIOException
-
fromByteArray
- Parameters:
data-- Throws:
InvalidMessageException
-
toByteArray
- Returns:
- Throws:
InvalidMessageException
-