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, isOpen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocalAddress
getSessionContext
public ExplicitPortForwardingTracker(ClientSession session, boolean localForwarding, SshdSocketAddress localAddress, SshdSocketAddress remoteAddress, SshdSocketAddress boundAddress)
public boolean isLocalForwarding()
public SshdSocketAddress getRemoteAddress()
getRemoteAddress
in interface ConnectionEndpointsIndicator
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
public String toString()
toString
in class PortForwardingTracker
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.