public abstract class PortForwardingTracker extends Object implements Channel, SessionHolder<ClientSession>, ClientSessionHolder
Modifier and Type | Field and Description |
---|---|
protected AtomicBoolean |
open |
Modifier | Constructor and Description |
---|---|
protected |
PortForwardingTracker(ClientSession session,
SshdSocketAddress localAddress,
SshdSocketAddress boundAddress) |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
getBoundAddress() |
ClientSession |
getClientSession() |
SshdSocketAddress |
getLocalAddress() |
ClientSession |
getSession() |
boolean |
isOpen() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSessionContext
protected final AtomicBoolean open
protected PortForwardingTracker(ClientSession session, SshdSocketAddress localAddress, SshdSocketAddress boundAddress)
public SshdSocketAddress getLocalAddress()
public SshdSocketAddress getBoundAddress()
public ClientSession getClientSession()
getClientSession
in interface ClientSessionHolder
ClientSession
usedpublic ClientSession getSession()
getSession
in interface SessionHolder<ClientSession>
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.