Top Fields Constructors Methods
org.apache.sshd.client.session.forward

public Class DynamicPortForwardingTracker

extends PortForwardingTracker
Class Inheritance
Imports
java.io.IOException, org.apache.sshd.client.session.ClientSession, org.apache.sshd.common.forward.PortForwardingManager, org.apache.sshd.common.util.net.SshdSocketAddress

Author
Apache MINA SSHD Project

Field Summary

Inherited from org.apache.sshd.client.session.forward.PortForwardingTracker:
open

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements java.nio.channels.Channel.close.

Closes this channel.

Inherited from org.apache.sshd.client.session.forward.PortForwardingTracker:
getBoundAddressgetClientSessiongetLocalAddressgetSessionisOpentoString

Constructor Detail

DynamicPortForwardingTrackerback to summary
public DynamicPortForwardingTracker(ClientSession session, SshdSocketAddress localAddress, SshdSocketAddress boundAddress)

Method Detail

closeback to summary
public void close() throws IOException

Implements java.nio.channels.Channel.close.

Doc from java.nio.channels.Channel.close.

Closes this channel.

After a channel is closed, any further attempt to invoke I/O operations upon it will cause a ClosedChannelException to be thrown.

If this channel is already closed then invoking this method has no effect.

This method may be invoked at any time. If some other thread has already invoked it, however, then another invocation will block until the first invocation is complete, after which it will return without effect.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs