net.schmizz.sshj.connection.channel.forwarded
Class AbstractForwardedChannelOpener
java.lang.Object
net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannelOpener
- All Implemented Interfaces:
- ForwardedChannelOpener
- Direct Known Subclasses:
- RemotePortForwarder, X11Forwarder
public abstract class AbstractForwardedChannelOpener
- extends Object
- implements ForwardedChannelOpener
Base class for ForwardedChannelOpener
's.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.slf4j.Logger log
chanType
protected final String chanType
conn
protected final Connection conn
AbstractForwardedChannelOpener
protected AbstractForwardedChannelOpener(String chanType,
Connection conn)
getChannelType
public String getChannelType()
- Description copied from interface:
ForwardedChannelOpener
- Returns the name of the channel type this opener can next.
- Specified by:
getChannelType
in interface ForwardedChannelOpener
callListener
protected void callListener(ConnectListener listener,
Channel.Forwarded chan)
- Calls the listener with the new channel in a separate thread.
Copyright © 2009-2012. All Rights Reserved.