Constructor and Description |
---|
AsyncSessionTask(Connection<SshClientContext> con) |
AsyncSessionTask(Connection<SshClientContext> con,
ChannelRequestFuture future) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
disconnect() |
protected int |
getBufferSize() |
ChannelRequestFuture |
getChannelFuture() |
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 AsyncSessionTask(Connection<SshClientContext> con, ChannelRequestFuture future)
public AsyncSessionTask(Connection<SshClientContext> con)
protected boolean isAllocatePseudoTerminal()
public void disconnect()
public ChannelRequestFuture getChannelFuture()
protected int getBufferSize()
public OutputStream getOutputStream()
protected abstract void setupSession(SessionChannel session)
protected abstract void onOpenSession(SessionChannel session)
protected abstract void onCloseSession(SessionChannel session)
public void close()
Copyright © 2017. All rights reserved.