com.sshtools.j2ssh.subsystem
Class SubsystemMessageStore
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemMessageStore
public class SubsystemMessageStore
- extends java.lang.Object
- Version:
- $Revision: 1.28 $
- Author:
- $author$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messages
protected java.util.List messages
registeredMessages
protected java.util.Map registeredMessages
SubsystemMessageStore
public SubsystemMessageStore()
- Creates a new SubsystemMessageStore object.
addMessage
public void addMessage(SubsystemMessage msg)
- Parameters:
msg
-
addMessage
public void addMessage(byte[] msgdata)
throws InvalidMessageException
- Parameters:
msgdata
-
- Throws:
InvalidMessageException
nextMessage
public SubsystemMessage nextMessage()
throws MessageStoreEOFException
- Returns:
-
- Throws:
MessageStoreEOFException
nextMessage
public SubsystemMessage nextMessage(int timeout)
throws MessageStoreEOFException,
MessageNotAvailableException
- Parameters:
timeout
-
- Returns:
-
- Throws:
MessageStoreEOFException
MessageNotAvailableException
registerMessage
public void registerMessage(int messageId,
java.lang.Class implementor)
- Parameters:
messageId
- implementor
-
getState
public OpenClosedState getState()
- Returns:
close
public void close()
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.