public abstract class AbstractSessionTask extends Object implements Runnable
Constructor and Description |
---|
AbstractSessionTask(Connection<SshClientContext> con) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected int |
getBufferSize() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
protected boolean |
isAllocatePseudoTerminal() |
protected abstract void |
onCloseSession(SessionChannel session) |
protected abstract void |
onOpenSession(SessionChannel session) |
void |
run() |
protected abstract void |
setupSession(SessionChannel session) |
public AbstractSessionTask(Connection<SshClientContext> con)
protected boolean isAllocatePseudoTerminal()
protected int getBufferSize()
public OutputStream getOutputStream()
public InputStream getInputStream()
protected abstract void setupSession(SessionChannel session)
protected abstract void onOpenSession(SessionChannel session)
protected abstract void onCloseSession(SessionChannel session)
public void close()
Copyright © 2016. All rights reserved.