public class ExplicitPortForwardingTracker extends PortForwardingTracker implements ConnectionEndpointsIndicator
open| Constructor and Description |
|---|
ExplicitPortForwardingTracker(ClientSession session,
boolean localForwarding,
SshdSocketAddress localAddress,
SshdSocketAddress remoteAddress,
SshdSocketAddress boundAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SshdSocketAddress |
getRemoteAddress() |
boolean |
isLocalForwarding() |
String |
toString() |
getBoundAddress, getClientSession, getLocalAddress, getSession, isOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocalAddressgetSessionContextpublic ExplicitPortForwardingTracker(ClientSession session, boolean localForwarding, SshdSocketAddress localAddress, SshdSocketAddress remoteAddress, SshdSocketAddress boundAddress)
public boolean isLocalForwarding()
public SshdSocketAddress getRemoteAddress()
getRemoteAddress in interface ConnectionEndpointsIndicatorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionpublic String toString()
toString in class PortForwardingTrackerCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.