public abstract class AbstractForwardedChannelOpener extends java.lang.Object implements ForwardedChannelOpener
ForwardedChannelOpener
's.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
chanType |
protected Connection |
conn |
protected org.slf4j.Logger |
log |
Modifier | Constructor and Description |
---|---|
protected |
AbstractForwardedChannelOpener(java.lang.String chanType,
Connection conn) |
Modifier and Type | Method and Description |
---|---|
protected void |
callListener(ConnectListener listener,
Channel.Forwarded chan)
Calls the listener with the new channel in a separate thread.
|
java.lang.String |
getChannelType()
Returns the name of the channel type this opener can next.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleOpen
protected final org.slf4j.Logger log
protected final java.lang.String chanType
protected final Connection conn
protected AbstractForwardedChannelOpener(java.lang.String chanType, Connection conn)
public java.lang.String getChannelType()
ForwardedChannelOpener
getChannelType
in interface ForwardedChannelOpener
protected void callListener(ConnectListener listener, Channel.Forwarded chan)