Package com.sshtools.common.sshd
Interface AbstractServerTransport<C extends Context>
public interface AbstractServerTransport<C extends Context>
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTask(Integer messageQueue, ConnectionAwareTask r) voiddisconnect(int reason, String message) byte[]booleanbooleanvoidpostMessage(SshMessage sshMessage) voidpostMessage(SshMessage sshMessage, boolean kex) voidregisterIdleStateListener(IdleStateListener listener) voidremoveIdleStateListener(IdleStateListener listener) voidresetIdleState(IdleStateListener listener) voidvoidstartService(Service<C> service)
-
Method Details
-
disconnect
-
getContext
C getContext() -
postMessage
-
sendNewKeys
void sendNewKeys() -
getConnection
SshConnection getConnection() -
postMessage
-
isConnected
boolean isConnected() -
addTask
-
startService
-
getSessionKey
byte[] getSessionKey() -
registerIdleStateListener
-
removeIdleStateListener
-
resetIdleState
-
isSelectorThread
boolean isSelectorThread()
-