com.sshtools.j2ssh.subsystem
Class SubsystemClient
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemClient
- All Implemented Interfaces:
- java.lang.Runnable
public abstract class SubsystemClient
- extends java.lang.Object
- implements java.lang.Runnable
- Version:
- $Revision: 1.33 $
- Author:
- $author$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageStore
protected SubsystemMessageStore messageStore
session
protected SessionChannelClient session
SubsystemClient
public SubsystemClient(java.lang.String name)
- Creates a new SubsystemClient object.
- Parameters:
name
-
SubsystemClient
public SubsystemClient(java.lang.String name,
SubsystemMessageStore messageStore)
- Creates a new SubsystemClient object.
- Parameters:
name
- messageStore
-
isClosed
public boolean isClosed()
- Returns:
setSessionChannel
public void setSessionChannel(SessionChannelClient session)
- Parameters:
session
-
getSessionChannel
public SessionChannelClient getSessionChannel()
- Returns:
start
public boolean start()
throws java.io.IOException
- Returns:
-
- Throws:
java.io.IOException
onStart
protected abstract boolean onStart()
throws java.io.IOException
- Returns:
-
- Throws:
java.io.IOException
getName
public java.lang.String getName()
- Returns:
sendMessage
protected void sendMessage(SubsystemMessage msg)
throws InvalidMessageException,
java.io.IOException
- Parameters:
msg
-
- Throws:
InvalidMessageException
java.io.IOException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
stop
public void stop()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.