public class ConnectionProtocolServer extends com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
Constructor and Description |
---|
ConnectionProtocolServer(TransportProtocolServer transport,
java.lang.String username) |
Modifier and Type | Method and Description |
---|---|
protected com.sshtools.synergy.ssh.ChannelNG<SshServerContext> |
createChannel(java.lang.String channeltype,
com.sshtools.synergy.ssh.Connection<SshServerContext> con) |
SshServerContext |
getContext() |
java.lang.String |
getName() |
TransportProtocolServer |
getTransport() |
protected boolean |
isClient() |
protected void |
onStart() |
protected void |
onStop() |
protected boolean |
processTCPIPCancel(com.sshtools.common.util.ByteArrayReader bar,
com.sshtools.common.util.ByteArrayWriter msg) |
protected boolean |
processTCPIPForward(com.sshtools.common.util.ByteArrayReader bar,
com.sshtools.common.util.ByteArrayWriter response) |
addGlobalRequestHandler, disconnect, getActiveChannels, getConnection, getIdleLog, getIdleTimeoutSeconds, getLocalAddress, getLocalPort, getMaxChannels, getQueueSize, getRemoteAddress, getSessionIdentifier, getUsername, getUUID, idle, openChannel, processGlobalRequestFailure, processGlobalRequestSuccess, processMessage, sendChannelOpenConfirmation, sendChannelOpenFailure, sendGlobalRequest, start, stop
public ConnectionProtocolServer(TransportProtocolServer transport, java.lang.String username)
protected boolean isClient()
isClient
in class com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
protected void onStart()
onStart
in class com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
public SshServerContext getContext()
getContext
in class com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
public TransportProtocolServer getTransport()
getTransport
in class com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
protected boolean processTCPIPForward(com.sshtools.common.util.ByteArrayReader bar, com.sshtools.common.util.ByteArrayWriter response) throws java.io.IOException
processTCPIPForward
in class com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
java.io.IOException
protected boolean processTCPIPCancel(com.sshtools.common.util.ByteArrayReader bar, com.sshtools.common.util.ByteArrayWriter msg) throws java.io.IOException
processTCPIPCancel
in class com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
java.io.IOException
public java.lang.String getName()
protected com.sshtools.synergy.ssh.ChannelNG<SshServerContext> createChannel(java.lang.String channeltype, com.sshtools.synergy.ssh.Connection<SshServerContext> con) throws com.sshtools.common.ssh.UnsupportedChannelException, com.sshtools.common.permissions.PermissionDeniedException, com.sshtools.common.ssh.ChannelOpenException
createChannel
in class com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
com.sshtools.common.ssh.UnsupportedChannelException
com.sshtools.common.permissions.PermissionDeniedException
com.sshtools.common.ssh.ChannelOpenException
protected void onStop()
onStop
in class com.sshtools.synergy.ssh.ConnectionProtocol<SshServerContext>
Copyright © 2022. All rights reserved.