This listener will accept connections from either only localhost or from any host (depending on how the tunnel was configured) and forward them to the Adito server the Agent is connected to.
When constructed, two {@link IOStreamConnectorListener}s must be provided. These are used to monitor events such as when data travels through the listener in either direction.
You must also provide a {@link TunnelConfiguration}. The listener is configured from the details obtained from this object. The listener will be running on the port specified in {@link TunnelConfiguration#getSourcePort()}.
Before any connections can be made to this listener, it must be started. Invoked the {@link #start()} method. The listener may be stopped atany time using the {@link #stop()} method.
NOTE UDP tunneling does not currently work.
|
|