Package com.sshtools.j2ssh.subsystem
Class SubsystemClient
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemClient
- All Implemented Interfaces:
Runnable
- Version:
- $Revision: 1.33 $
- Author:
- $author$
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubsystemClient(String name) Creates a new SubsystemClient object.SubsystemClient(String name, SubsystemMessageStore messageStore) Creates a new SubsystemClient object. -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanisClosed()protected abstract booleanonStart()voidrun()protected voidvoidsetSessionChannel(SessionChannelClient session) booleanstart()voidstop()
-
Field Details
-
messageStore
-
session
-
-
Constructor Details
-
SubsystemClient
Creates a new SubsystemClient object.- Parameters:
name-
-
SubsystemClient
Creates a new SubsystemClient object.- Parameters:
name-messageStore-
-
-
Method Details
-
isClosed
public boolean isClosed()- Returns:
-
setSessionChannel
- Parameters:
session-
-
getSessionChannel
- Returns:
-
start
- Returns:
- Throws:
IOException
-
onStart
- Returns:
- Throws:
IOException
-
getName
- Returns:
-
sendMessage
- Parameters:
msg-- Throws:
InvalidMessageExceptionIOException
-
run
public void run() -
stop
- Throws:
IOException
-