Uses of Class
org.apache.sshd.common.util.net.SshdSocketAddress
Packages that use SshdSocketAddress
Package
Description
-
Uses of SshdSocketAddress in org.apache.sshd.client.channel
Fields in org.apache.sshd.client.channel declared as SshdSocketAddressModifier and TypeFieldDescriptionprivate final SshdSocketAddress
ChannelDirectTcpip.local
private final SshdSocketAddress
ChannelDirectTcpip.remote
Methods in org.apache.sshd.client.channel that return SshdSocketAddressModifier and TypeMethodDescriptionChannelDirectTcpip.getLocalSocketAddress()
ChannelDirectTcpip.getRemoteSocketAddress()
Constructors in org.apache.sshd.client.channel with parameters of type SshdSocketAddressModifierConstructorDescriptionChannelDirectTcpip
(SshdSocketAddress local, SshdSocketAddress remote) -
Uses of SshdSocketAddress in org.apache.sshd.client.keyverifier
Methods in org.apache.sshd.client.keyverifier that return types with arguments of type SshdSocketAddressModifier and TypeMethodDescriptionprotected Collection<SshdSocketAddress>
KnownHostsServerKeyVerifier.resolveHostNetworkIdentities
(ClientSession clientSession, SocketAddress remoteAddress) Retrieves the host identities to be used when matching or updating an entry for it - by default returns the reported remote address and the original connection target host name/address (if same, then only one value is returned)Methods in org.apache.sshd.client.keyverifier with parameters of type SshdSocketAddressModifier and TypeMethodDescriptionprotected NamedFactory<Mac>
KnownHostsServerKeyVerifier.getHostValueDigester
(ClientSession clientSession, SocketAddress remoteAddress, SshdSocketAddress hostIdentity) Invoked byKnownHostsServerKeyVerifier.prepareKnownHostEntry(ClientSession, SocketAddress, PublicKey)
in order to query whether to use a hashed value instead of a plain one for the written host name/address - default returnsnull
- i.e., no hashing -
Uses of SshdSocketAddress in org.apache.sshd.client.session
Fields in org.apache.sshd.client.session with type parameters of type SshdSocketAddressModifier and TypeFieldDescriptionstatic final AttributeRepository.AttributeKey<SshdSocketAddress>
ClientSessionCreator.TARGET_SERVER
Methods in org.apache.sshd.client.session that return SshdSocketAddressModifier and TypeMethodDescriptionAbstractClientSession.startDynamicPortForwarding
(SshdSocketAddress local) AbstractClientSession.startLocalPortForwarding
(SshdSocketAddress local, SshdSocketAddress remote) AbstractClientSession.startRemotePortForwarding
(SshdSocketAddress remote, SshdSocketAddress local) Methods in org.apache.sshd.client.session with parameters of type SshdSocketAddressModifier and TypeMethodDescriptionAbstractClientSession.createDirectTcpipChannel
(SshdSocketAddress local, SshdSocketAddress remote) ClientSession.createDirectTcpipChannel
(SshdSocketAddress local, SshdSocketAddress remote) Create a direct tcp-ip channel which can be used to stream data to a remote port from the server.default DynamicPortForwardingTracker
ClientSession.createDynamicPortForwardingTracker
(SshdSocketAddress local) Starts a dynamic port forwarding and returns a tracker that stops the forwarding when theclose()
method is called.default ExplicitPortForwardingTracker
ClientSession.createLocalPortForwardingTracker
(int localPort, SshdSocketAddress remote) Starts a local port forwarding and returns a tracker that stops the forwarding when theclose()
method is called.default ExplicitPortForwardingTracker
ClientSession.createLocalPortForwardingTracker
(SshdSocketAddress local, SshdSocketAddress remote) Starts a local port forwarding and returns a tracker that stops the forwarding when theclose()
method is called.default ExplicitPortForwardingTracker
ClientSession.createRemotePortForwardingTracker
(SshdSocketAddress remote, SshdSocketAddress local) Starts a remote port forwarding and returns a tracker that stops the forwarding when theclose()
method is called.AbstractClientSession.startDynamicPortForwarding
(SshdSocketAddress local) AbstractClientSession.startLocalPortForwarding
(SshdSocketAddress local, SshdSocketAddress remote) AbstractClientSession.startRemotePortForwarding
(SshdSocketAddress remote, SshdSocketAddress local) void
AbstractClientSession.stopDynamicPortForwarding
(SshdSocketAddress local) void
AbstractClientSession.stopLocalPortForwarding
(SshdSocketAddress local) void
AbstractClientSession.stopRemotePortForwarding
(SshdSocketAddress remote) -
Uses of SshdSocketAddress in org.apache.sshd.client.session.forward
Fields in org.apache.sshd.client.session.forward declared as SshdSocketAddressModifier and TypeFieldDescriptionprivate final SshdSocketAddress
PortForwardingTracker.boundAddress
private final SshdSocketAddress
PortForwardingTracker.localAddress
private final SshdSocketAddress
ExplicitPortForwardingTracker.remoteAddress
Methods in org.apache.sshd.client.session.forward that return SshdSocketAddressModifier and TypeMethodDescriptionPortForwardingTracker.getBoundAddress()
PortForwardingTracker.getLocalAddress()
ExplicitPortForwardingTracker.getRemoteAddress()
Constructors in org.apache.sshd.client.session.forward with parameters of type SshdSocketAddressModifierConstructorDescriptionDynamicPortForwardingTracker
(ClientSession session, SshdSocketAddress localAddress, SshdSocketAddress boundAddress) ExplicitPortForwardingTracker
(ClientSession session, boolean localForwarding, SshdSocketAddress localAddress, SshdSocketAddress remoteAddress, SshdSocketAddress boundAddress) protected
PortForwardingTracker
(ClientSession session, SshdSocketAddress localAddress, SshdSocketAddress boundAddress) -
Uses of SshdSocketAddress in org.apache.sshd.common.forward
Fields in org.apache.sshd.common.forward declared as SshdSocketAddressModifier and TypeFieldDescriptionprivate final SshdSocketAddress
LocalForwardingEntry.bound
private final SshdSocketAddress
LocalForwardingEntry.combined
private final SshdSocketAddress
LocalForwardingEntry.local
protected SshdSocketAddress
TcpipClientChannel.localEntry
protected final SshdSocketAddress
TcpipClientChannel.remote
private SshdSocketAddress
TcpipClientChannel.tunnelEntrance
private SshdSocketAddress
TcpipClientChannel.tunnelExit
Fields in org.apache.sshd.common.forward with type parameters of type SshdSocketAddressModifier and TypeFieldDescriptionprivate final Map<SshdSocketAddress,
InetSocketAddress> DefaultForwarder.boundLocals
private final Map<SshdSocketAddress,
SshdSocketAddress> DefaultForwarder.localToRemote
private final Map<SshdSocketAddress,
SshdSocketAddress> DefaultForwarder.localToRemote
private final Map<Integer,
SshdSocketAddress> DefaultForwarder.remoteToLocal
Methods in org.apache.sshd.common.forward that return SshdSocketAddressModifier and TypeMethodDescriptionLocalForwardingEntry.getBoundAddress()
DefaultForwarder.getBoundRemotePortForward
(int port) PortForwardingInformationProvider.getBoundRemotePortForward
(int port) LocalForwardingEntry.getCombinedBoundAddress()
A combined address using the following logic: If original requested local binding has a specific port and non-wildcard address then use the local binding as-is If original requested local binding has a specific address but no specific port, then combine its address with the actual auto-allocated port at binding. If original requested local binding has neither a specific address nor a specific port then use the effective bound address.DefaultForwarder.getForwardedPort
(int remotePort) Forwarder.getForwardedPort
(int remotePort) LocalForwardingEntry.getLocalAddress()
ForwardingTunnelEndpointsProvider.getTunnelEntrance()
TcpipClientChannel.getTunnelEntrance()
ForwardingTunnelEndpointsProvider.getTunnelExit()
TcpipClientChannel.getTunnelExit()
DefaultForwarder.localPortForwardingRequested
(SshdSocketAddress local) Forwarder.localPortForwardingRequested
(SshdSocketAddress local) Called when the other side requested a remote port forward.static SshdSocketAddress
LocalForwardingEntry.resolveCombinedBoundAddress
(SshdSocketAddress local, SshdSocketAddress bound) DefaultForwarder.startDynamicPortForwarding
(SshdSocketAddress local) PortForwardingManager.startDynamicPortForwarding
(SshdSocketAddress local) Start dynamic local port forwarding using a SOCKS proxy.DefaultForwarder.startLocalPortForwarding
(SshdSocketAddress local, SshdSocketAddress remote) default SshdSocketAddress
PortForwardingManager.startLocalPortForwarding
(int localPort, SshdSocketAddress remote) Start forwarding the given local port on the client to the given address on the server.PortForwardingManager.startLocalPortForwarding
(SshdSocketAddress local, SshdSocketAddress remote) Start forwarding the given local address on the client to the given address on the server.DefaultForwarder.startRemotePortForwarding
(SshdSocketAddress remote, SshdSocketAddress local) PortForwardingManager.startRemotePortForwarding
(SshdSocketAddress remote, SshdSocketAddress local) Start forwarding tcpip from the given address on the server to the given address on the client.Methods in org.apache.sshd.common.forward that return types with arguments of type SshdSocketAddressModifier and TypeMethodDescriptionDefaultForwarder.getBoundLocalPortForwards
(int port) PortForwardingInformationProvider.getBoundLocalPortForwards
(int port) DefaultForwarder.getLocalForwardsBindings()
DefaultForwarder.getLocalForwardsBindings()
PortForwardingInformationProvider.getLocalForwardsBindings()
PortForwardingInformationProvider.getLocalForwardsBindings()
DefaultForwarder.getRemoteForwardsBindings()
PortForwardingInformationProvider.getRemoteForwardsBindings()
DefaultForwarder.getStartedLocalPortForwards()
PortForwardingInformationProvider.getStartedLocalPortForwards()
Methods in org.apache.sshd.common.forward with parameters of type SshdSocketAddressModifier and TypeMethodDescriptionprotected InetSocketAddress
DefaultForwarder.doBind
(SshdSocketAddress address, IoAcceptor acceptor) default void
PortForwardingEventListener.establishedDynamicTunnel
(Session session, SshdSocketAddress local, SshdSocketAddress boundAddress, Throwable reason) Signals a successful/failed attempt to establish a dynamic port forwardingdefault void
PortForwardingEventListener.establishedExplicitTunnel
(Session session, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, Throwable reason) Signals a successful/failed attempt to establish a local/remote port forwardingdefault void
PortForwardingEventListener.establishingDynamicTunnel
(Session session, SshdSocketAddress local) Signals the attempt to establish a dynamic port forwardingdefault void
PortForwardingEventListener.establishingExplicitTunnel
(Session session, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding) Signals the attempt to establish a local/remote port forwardingvoid
DefaultForwarder.localPortForwardingCancelled
(SshdSocketAddress local) void
Forwarder.localPortForwardingCancelled
(SshdSocketAddress local) Called when the other side cancelled a remote port forward.DefaultForwarder.localPortForwardingRequested
(SshdSocketAddress local) Forwarder.localPortForwardingRequested
(SshdSocketAddress local) Called when the other side requested a remote port forward.static SshdSocketAddress
LocalForwardingEntry.resolveCombinedBoundAddress
(SshdSocketAddress local, SshdSocketAddress bound) protected void
DefaultForwarder.signalEstablishedDynamicTunnel
(PortForwardingEventListener listener, SshdSocketAddress local, SshdSocketAddress boundAddress, Throwable reason) protected void
DefaultForwarder.signalEstablishedDynamicTunnel
(SshdSocketAddress local, SshdSocketAddress boundAddress, Throwable reason) protected void
DefaultForwarder.signalEstablishedExplicitTunnel
(PortForwardingEventListener listener, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, Throwable reason) protected void
DefaultForwarder.signalEstablishedExplicitTunnel
(SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, Throwable reason) protected void
DefaultForwarder.signalEstablishingDynamicTunnel
(PortForwardingEventListener listener, SshdSocketAddress local) protected void
DefaultForwarder.signalEstablishingDynamicTunnel
(SshdSocketAddress local) protected void
DefaultForwarder.signalEstablishingExplicitTunnel
(PortForwardingEventListener listener, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding) protected void
DefaultForwarder.signalEstablishingExplicitTunnel
(SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding) protected void
DefaultForwarder.signalTearingDownDynamicTunnel
(PortForwardingEventListener listener, SshdSocketAddress address) protected void
DefaultForwarder.signalTearingDownDynamicTunnel
(SshdSocketAddress address) protected void
DefaultForwarder.signalTearingDownExplicitTunnel
(PortForwardingEventListener listener, SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remoteAddress) protected void
DefaultForwarder.signalTearingDownExplicitTunnel
(SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remote) protected void
DefaultForwarder.signalTornDownDynamicTunnel
(PortForwardingEventListener listener, SshdSocketAddress address, Throwable reason) protected void
DefaultForwarder.signalTornDownDynamicTunnel
(SshdSocketAddress address, Throwable reason) protected void
DefaultForwarder.signalTornDownExplicitTunnel
(PortForwardingEventListener listener, SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remoteAddress, Throwable reason) protected void
DefaultForwarder.signalTornDownExplicitTunnel
(SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remoteAddress, Throwable reason) DefaultForwarder.startDynamicPortForwarding
(SshdSocketAddress local) PortForwardingManager.startDynamicPortForwarding
(SshdSocketAddress local) Start dynamic local port forwarding using a SOCKS proxy.DefaultForwarder.startLocalPortForwarding
(SshdSocketAddress local, SshdSocketAddress remote) default SshdSocketAddress
PortForwardingManager.startLocalPortForwarding
(int localPort, SshdSocketAddress remote) Start forwarding the given local port on the client to the given address on the server.PortForwardingManager.startLocalPortForwarding
(SshdSocketAddress local, SshdSocketAddress remote) Start forwarding the given local address on the client to the given address on the server.DefaultForwarder.startRemotePortForwarding
(SshdSocketAddress remote, SshdSocketAddress local) PortForwardingManager.startRemotePortForwarding
(SshdSocketAddress remote, SshdSocketAddress local) Start forwarding tcpip from the given address on the server to the given address on the client.void
DefaultForwarder.stopDynamicPortForwarding
(SshdSocketAddress local) void
PortForwardingManager.stopDynamicPortForwarding
(SshdSocketAddress local) Stop a previously started dynamic port forwarding.void
DefaultForwarder.stopLocalPortForwarding
(SshdSocketAddress local) void
PortForwardingManager.stopLocalPortForwarding
(SshdSocketAddress local) Stop forwarding the given local address.void
DefaultForwarder.stopRemotePortForwarding
(SshdSocketAddress remote) void
PortForwardingManager.stopRemotePortForwarding
(SshdSocketAddress remote) Stop forwarding of the given remote address.default void
PortForwardingEventListener.tearingDownDynamicTunnel
(Session session, SshdSocketAddress address) Signals a request to tear down a dynamic forwardingdefault void
PortForwardingEventListener.tearingDownExplicitTunnel
(Session session, SshdSocketAddress address, boolean localForwarding, SshdSocketAddress remoteAddress) Signals a request to tear down a local/remote port forwardingdefault void
PortForwardingEventListener.tornDownDynamicTunnel
(Session session, SshdSocketAddress address, Throwable reason) Signals a successful/failed request to tear down a dynamic port forwardingdefault void
PortForwardingEventListener.tornDownExplicitTunnel
(Session session, SshdSocketAddress address, boolean localForwarding, SshdSocketAddress remoteAddress, Throwable reason) Signals a successful/failed request to tear down a local/remote port forwardingprotected void
DefaultForwarder.unbindDynamicForwarding
(SshdSocketAddress local, SocksProxy proxy, InetSocketAddress bound) protected void
DefaultForwarder.unbindLocalForwarding
(SshdSocketAddress local, SshdSocketAddress remote, InetSocketAddress bound) Constructors in org.apache.sshd.common.forward with parameters of type SshdSocketAddressModifierConstructorDescriptionLocalForwardingEntry
(SshdSocketAddress local, InetSocketAddress bound) LocalForwardingEntry
(SshdSocketAddress local, SshdSocketAddress bound) TcpipClientChannel
(TcpipClientChannel.Type type, IoSession serverSession, SshdSocketAddress remote) -
Uses of SshdSocketAddress in org.apache.sshd.common.session.helpers
Methods in org.apache.sshd.common.session.helpers that return SshdSocketAddressMethods in org.apache.sshd.common.session.helpers that return types with arguments of type SshdSocketAddressModifier and TypeMethodDescriptionSessionHelper.getBoundLocalPortForwards
(int port) SessionHelper.getLocalForwardsBindings()
SessionHelper.getLocalForwardsBindings()
SessionHelper.getRemoteForwardsBindings()
SessionHelper.getStartedLocalPortForwards()
-
Uses of SshdSocketAddress in org.apache.sshd.common.util.net
Fields in org.apache.sshd.common.util.net declared as SshdSocketAddressModifier and TypeFieldDescriptionstatic final SshdSocketAddress
SshdSocketAddress.LOCALHOST_ADDRESS
A dummy placeholder that can be used instead ofnull
sMethods in org.apache.sshd.common.util.net that return SshdSocketAddressModifier and TypeMethodDescriptionstatic SshdSocketAddress
SshdSocketAddress.toSshdSocketAddress
(SocketAddress addr) Methods in org.apache.sshd.common.util.net that return types with arguments of type SshdSocketAddressModifier and TypeMethodDescriptionstatic <V> Map.Entry<SshdSocketAddress,
? extends V> SshdSocketAddress.findMatchingOptionalWildcardEntry
(Map<SshdSocketAddress, ? extends V> map, SshdSocketAddress address) Methods in org.apache.sshd.common.util.net with parameters of type SshdSocketAddressModifier and TypeMethodDescriptionstatic <V> V
SshdSocketAddress.findByOptionalWildcardAddress
(Map<SshdSocketAddress, ? extends V> map, SshdSocketAddress address) static <V> Map.Entry<SshdSocketAddress,
? extends V> SshdSocketAddress.findMatchingOptionalWildcardEntry
(Map<SshdSocketAddress, ? extends V> map, SshdSocketAddress address) protected boolean
SshdSocketAddress.isEquivalent
(SshdSocketAddress that) static <V> V
SshdSocketAddress.removeByOptionalWildcardAddress
(Map<SshdSocketAddress, ? extends V> map, SshdSocketAddress address) Method parameters in org.apache.sshd.common.util.net with type arguments of type SshdSocketAddressModifier and TypeMethodDescriptionstatic <V> V
SshdSocketAddress.findByOptionalWildcardAddress
(Map<SshdSocketAddress, ? extends V> map, SshdSocketAddress address) static <V> Map.Entry<SshdSocketAddress,
? extends V> SshdSocketAddress.findMatchingOptionalWildcardEntry
(Map<SshdSocketAddress, ? extends V> map, SshdSocketAddress address) static <V> V
SshdSocketAddress.removeByOptionalWildcardAddress
(Map<SshdSocketAddress, ? extends V> map, SshdSocketAddress address) -
Uses of SshdSocketAddress in org.apache.sshd.server.forward
Fields in org.apache.sshd.server.forward declared as SshdSocketAddressModifier and TypeFieldDescriptionprivate SshdSocketAddress
TcpipServerChannel.originatorAddress
private SshdSocketAddress
TcpipServerChannel.tunnelEntrance
private SshdSocketAddress
TcpipServerChannel.tunnelExit
Methods in org.apache.sshd.server.forward that return SshdSocketAddressModifier and TypeMethodDescriptionTcpipServerChannel.getOriginatorAddress()
TcpipServerChannel.getTunnelEntrance()
TcpipServerChannel.getTunnelExit()
Methods in org.apache.sshd.server.forward with parameters of type SshdSocketAddressModifier and TypeMethodDescriptionboolean
StaticDecisionForwardingFilter.canConnect
(TcpForwardingFilter.Type type, SshdSocketAddress address, Session session) boolean
TcpForwardingFilter.canConnect
(TcpForwardingFilter.Type type, SshdSocketAddress address, Session session) Determine if the session may create an outbound connection.boolean
StaticDecisionForwardingFilter.canListen
(SshdSocketAddress address, Session session) boolean
TcpForwardingFilter.canListen
(SshdSocketAddress address, Session session) Determine if the session may listen for inbound connections.protected boolean
StaticDecisionForwardingFilter.checkAcceptance
(String request, Session session, SshdSocketAddress target)