public abstract class AbstractForwardedChannelOpener extends Object implements ForwardedChannelOpener
ForwardedChannelOpener
's.Modifier and Type | Field and Description |
---|---|
protected String |
chanType |
protected Connection |
conn |
protected org.slf4j.Logger |
log |
Modifier | Constructor and Description |
---|---|
protected |
AbstractForwardedChannelOpener(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.
|
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 String chanType
protected final Connection conn
protected AbstractForwardedChannelOpener(String chanType, Connection conn)
public String getChannelType()
ForwardedChannelOpener
getChannelType
in interface ForwardedChannelOpener
protected void callListener(ConnectListener listener, Channel.Forwarded chan)
Copyright © 2009–2016. All rights reserved.