public class LocalForwardingFactoryImpl extends SocketListeningForwardingFactoryImpl<SshClientContext>
Constructor and Description |
---|
LocalForwardingFactoryImpl(String hostToConnect,
int portToConnect) |
Modifier and Type | Method and Description |
---|---|
protected ForwardingChannel<SshClientContext> |
createChannel(String channelType,
String addressToBind,
int portToBind,
SocketChannel sc) |
String |
getChannelType()
Get the underlying channel type for this forwarding factory.
|
int |
getStartedEventCode() |
int |
getStoppedEventCode() |
belongsTo, bindInterface, bindInterface, finishAccept, stopAccepting, stopListening
finishAccept
public LocalForwardingFactoryImpl(String hostToConnect, int portToConnect)
public String getChannelType()
ForwardingFactory
public int getStartedEventCode()
public int getStoppedEventCode()
protected ForwardingChannel<SshClientContext> createChannel(String channelType, String addressToBind, int portToBind, SocketChannel sc)
createChannel
in class SocketListeningForwardingFactoryImpl<SshClientContext>
Copyright © 2016. All rights reserved.