Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.j2ssh.forwarding » [javadoc | source]
com.sshtools.j2ssh.forwarding
public class: ForwardingConfiguration [javadoc | source]
java.lang.Object
   com.sshtools.j2ssh.forwarding.ForwardingConfiguration

Direct Known Subclasses:
    ClientForwardingListener, ServerForwardingListener, ForwardingListener

Nested Class Summary:
public class  ForwardingConfiguration.ForwardingConfigurationMonitor   
Field Summary
protected  StartStopState state     
protected  String addressToBind     
protected  String hostToConnect     
protected  String name     
protected  int portToBind     
protected  int portToConnect     
protected  ForwardingConfiguration.ForwardingConfigurationMonitor monitor     
protected  EventListenerList listenerList     
Constructor:
 public ForwardingConfiguration(String addressToBind,
    int portToBind) 
    Creates a new ForwardingConfiguration object.
    Parameters:
    addressToBind -
    portToBind -
 public ForwardingConfiguration(String name,
    String addressToBind,
    int portToBind,
    String hostToConnect,
    int portToConnect) 
    Creates a new ForwardingConfiguration object.
    Parameters:
    name -
    addressToBind -
    portToBind -
    hostToConnect -
    portToConnect -
Method from com.sshtools.j2ssh.forwarding.ForwardingConfiguration Summary:
addForwardingConfigurationListener,   createForwardingBindingChannel,   createForwardingIOChannel,   createForwardingSocketChannel,   getActiveForwardingSocketChannels,   getAddressToBind,   getHostToConnect,   getName,   getPortToBind,   getPortToConnect,   getState,   isForwarding,   removeForwardingConfigurationListener,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.j2ssh.forwarding.ForwardingConfiguration Detail:
 public  void addForwardingConfigurationListener(ForwardingConfigurationListener l) 
 public ForwardingBindingChannel createForwardingBindingChannel(String type,
    String hostToConnect,
    int portToConnect,
    String originatingHost,
    int originatingPort) throws ForwardingConfigurationException 
 public ForwardingIOChannel createForwardingIOChannel(String type,
    String hostToConnect,
    int portToConnect,
    String originatingHost,
    int originatingPort) throws ForwardingConfigurationException 
 public ForwardingSocketChannel createForwardingSocketChannel(String type,
    String hostToConnect,
    int portToConnect,
    String originatingHost,
    int originatingPort) throws ForwardingConfigurationException 
 public List getActiveForwardingSocketChannels() 
 public String getAddressToBind() 
 public String getHostToConnect() 
 public String getName() 
 public int getPortToBind() 
 public int getPortToConnect() 
 public StartStopState getState() 
 public boolean isForwarding() 
 public  void removeForwardingConfigurationListener(ForwardingConfigurationListener l) 
 public  void start() throws IOException 
 public  void stop()