Uses of Class
org.apache.sshd.common.util.net.SshdSocketAddress
-
-
Uses of SshdSocketAddress in org.apache.sshd.client.channel
Fields in org.apache.sshd.client.channel declared as SshdSocketAddress Modifier and Type Field Description private SshdSocketAddress
ChannelDirectTcpip. local
private SshdSocketAddress
ChannelDirectTcpip. remote
Methods in org.apache.sshd.client.channel that return SshdSocketAddress Modifier and Type Method Description SshdSocketAddress
ChannelDirectTcpip. getLocalSocketAddress()
SshdSocketAddress
ChannelDirectTcpip. getRemoteSocketAddress()
Constructors in org.apache.sshd.client.channel with parameters of type SshdSocketAddress Constructor Description ChannelDirectTcpip(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 SshdSocketAddress Modifier and Type Method Description protected java.util.Collection<SshdSocketAddress>
KnownHostsServerKeyVerifier. resolveHostNetworkIdentities(ClientSession clientSession, java.net.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 SshdSocketAddress Modifier and Type Method Description protected NamedFactory<Mac>
KnownHostsServerKeyVerifier. getHostValueDigester(ClientSession clientSession, java.net.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 SshdSocketAddress Modifier and Type Field Description static AttributeRepository.AttributeKey<SshdSocketAddress>
ClientSessionCreator. TARGET_SERVER
Methods in org.apache.sshd.client.session that return SshdSocketAddress Modifier and Type Method Description SshdSocketAddress
AbstractClientSession. startDynamicPortForwarding(SshdSocketAddress local)
SshdSocketAddress
AbstractClientSession. startLocalPortForwarding(SshdSocketAddress local, SshdSocketAddress remote)
SshdSocketAddress
AbstractClientSession. startRemotePortForwarding(SshdSocketAddress remote, SshdSocketAddress local)
Methods in org.apache.sshd.client.session with parameters of type SshdSocketAddress Modifier and Type Method Description ChannelDirectTcpip
AbstractClientSession. createDirectTcpipChannel(SshdSocketAddress local, SshdSocketAddress remote)
ChannelDirectTcpip
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.SshdSocketAddress
AbstractClientSession. startDynamicPortForwarding(SshdSocketAddress local)
SshdSocketAddress
AbstractClientSession. startLocalPortForwarding(SshdSocketAddress local, SshdSocketAddress remote)
SshdSocketAddress
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 SshdSocketAddress Modifier and Type Field Description private SshdSocketAddress
PortForwardingTracker. boundAddress
private SshdSocketAddress
PortForwardingTracker. localAddress
private SshdSocketAddress
ExplicitPortForwardingTracker. remoteAddress
Methods in org.apache.sshd.client.session.forward that return SshdSocketAddress Modifier and Type Method Description SshdSocketAddress
PortForwardingTracker. getBoundAddress()
SshdSocketAddress
PortForwardingTracker. getLocalAddress()
SshdSocketAddress
ExplicitPortForwardingTracker. getRemoteAddress()
Constructors in org.apache.sshd.client.session.forward with parameters of type SshdSocketAddress Constructor Description DynamicPortForwardingTracker(ClientSession session, SshdSocketAddress localAddress, SshdSocketAddress boundAddress)
ExplicitPortForwardingTracker(ClientSession session, boolean localForwarding, SshdSocketAddress localAddress, SshdSocketAddress remoteAddress, SshdSocketAddress boundAddress)
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 SshdSocketAddress Modifier and Type Field Description private SshdSocketAddress
LocalForwardingEntry. bound
private SshdSocketAddress
LocalForwardingEntry. combined
private SshdSocketAddress
LocalForwardingEntry. local
protected SshdSocketAddress
TcpipClientChannel. localEntry
protected SshdSocketAddress
TcpipClientChannel. remote
private SshdSocketAddress
TcpipClientChannel. tunnelEntrance
private SshdSocketAddress
TcpipClientChannel. tunnelExit
Fields in org.apache.sshd.common.forward with type parameters of type SshdSocketAddress Modifier and Type Field Description private java.util.Map<SshdSocketAddress,java.net.InetSocketAddress>
DefaultForwarder. boundLocals
private java.util.Map<SshdSocketAddress,SshdSocketAddress>
DefaultForwarder. localToRemote
private java.util.Map<SshdSocketAddress,SshdSocketAddress>
DefaultForwarder. localToRemote
private java.util.Map<java.lang.Integer,SshdSocketAddress>
DefaultForwarder. remoteToLocal
Methods in org.apache.sshd.common.forward that return SshdSocketAddress Modifier and Type Method Description SshdSocketAddress
LocalForwardingEntry. getBoundAddress()
SshdSocketAddress
DefaultForwarder. getBoundRemotePortForward(int port)
SshdSocketAddress
PortForwardingInformationProvider. getBoundRemotePortForward(int port)
SshdSocketAddress
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.SshdSocketAddress
DefaultForwarder. getForwardedPort(int remotePort)
SshdSocketAddress
Forwarder. getForwardedPort(int remotePort)
SshdSocketAddress
LocalForwardingEntry. getLocalAddress()
SshdSocketAddress
ForwardingTunnelEndpointsProvider. getTunnelEntrance()
SshdSocketAddress
TcpipClientChannel. getTunnelEntrance()
SshdSocketAddress
ForwardingTunnelEndpointsProvider. getTunnelExit()
SshdSocketAddress
TcpipClientChannel. getTunnelExit()
SshdSocketAddress
DefaultForwarder. localPortForwardingRequested(SshdSocketAddress local)
SshdSocketAddress
Forwarder. localPortForwardingRequested(SshdSocketAddress local)
Called when the other side requested a remote port forward.static SshdSocketAddress
LocalForwardingEntry. resolveCombinedBoundAddress(SshdSocketAddress local, SshdSocketAddress bound)
SshdSocketAddress
DefaultForwarder. startDynamicPortForwarding(SshdSocketAddress local)
SshdSocketAddress
PortForwardingManager. startDynamicPortForwarding(SshdSocketAddress local)
Start dynamic local port forwarding using a SOCKS proxy.SshdSocketAddress
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.SshdSocketAddress
PortForwardingManager. startLocalPortForwarding(SshdSocketAddress local, SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.SshdSocketAddress
DefaultForwarder. startRemotePortForwarding(SshdSocketAddress remote, SshdSocketAddress local)
SshdSocketAddress
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 SshdSocketAddress Modifier and Type Method Description java.util.List<SshdSocketAddress>
DefaultForwarder. getBoundLocalPortForwards(int port)
java.util.List<SshdSocketAddress>
PortForwardingInformationProvider. getBoundLocalPortForwards(int port)
java.util.List<java.util.Map.Entry<SshdSocketAddress,SshdSocketAddress>>
DefaultForwarder. getLocalForwardsBindings()
java.util.List<java.util.Map.Entry<SshdSocketAddress,SshdSocketAddress>>
DefaultForwarder. getLocalForwardsBindings()
java.util.List<java.util.Map.Entry<SshdSocketAddress,SshdSocketAddress>>
PortForwardingInformationProvider. getLocalForwardsBindings()
java.util.List<java.util.Map.Entry<SshdSocketAddress,SshdSocketAddress>>
PortForwardingInformationProvider. getLocalForwardsBindings()
java.util.List<java.util.Map.Entry<java.lang.Integer,SshdSocketAddress>>
DefaultForwarder. getRemoteForwardsBindings()
java.util.List<java.util.Map.Entry<java.lang.Integer,SshdSocketAddress>>
PortForwardingInformationProvider. getRemoteForwardsBindings()
java.util.List<SshdSocketAddress>
DefaultForwarder. getStartedLocalPortForwards()
java.util.List<SshdSocketAddress>
PortForwardingInformationProvider. getStartedLocalPortForwards()
Methods in org.apache.sshd.common.forward with parameters of type SshdSocketAddress Modifier and Type Method Description protected java.net.InetSocketAddress
DefaultForwarder. doBind(SshdSocketAddress address, IoAcceptor acceptor)
default void
PortForwardingEventListener. establishedDynamicTunnel(Session session, SshdSocketAddress local, SshdSocketAddress boundAddress, java.lang.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, java.lang.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.SshdSocketAddress
DefaultForwarder. localPortForwardingRequested(SshdSocketAddress local)
SshdSocketAddress
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, java.lang.Throwable reason)
protected void
DefaultForwarder. signalEstablishedDynamicTunnel(SshdSocketAddress local, SshdSocketAddress boundAddress, java.lang.Throwable reason)
protected void
DefaultForwarder. signalEstablishedExplicitTunnel(PortForwardingEventListener listener, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, java.lang.Throwable reason)
protected void
DefaultForwarder. signalEstablishedExplicitTunnel(SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, java.lang.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, java.lang.Throwable reason)
protected void
DefaultForwarder. signalTornDownDynamicTunnel(SshdSocketAddress address, java.lang.Throwable reason)
protected void
DefaultForwarder. signalTornDownExplicitTunnel(PortForwardingEventListener listener, SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remoteAddress, java.lang.Throwable reason)
protected void
DefaultForwarder. signalTornDownExplicitTunnel(SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remoteAddress, java.lang.Throwable reason)
SshdSocketAddress
DefaultForwarder. startDynamicPortForwarding(SshdSocketAddress local)
SshdSocketAddress
PortForwardingManager. startDynamicPortForwarding(SshdSocketAddress local)
Start dynamic local port forwarding using a SOCKS proxy.SshdSocketAddress
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.SshdSocketAddress
PortForwardingManager. startLocalPortForwarding(SshdSocketAddress local, SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.SshdSocketAddress
DefaultForwarder. startRemotePortForwarding(SshdSocketAddress remote, SshdSocketAddress local)
SshdSocketAddress
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, java.lang.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, java.lang.Throwable reason)
Signals a successful/failed request to tear down a local/remote port forwardingprotected void
DefaultForwarder. unbindDynamicForwarding(SshdSocketAddress local, SocksProxy proxy, java.net.InetSocketAddress bound)
protected void
DefaultForwarder. unbindLocalForwarding(SshdSocketAddress local, SshdSocketAddress remote, java.net.InetSocketAddress bound)
Constructors in org.apache.sshd.common.forward with parameters of type SshdSocketAddress Constructor Description LocalForwardingEntry(SshdSocketAddress local, java.net.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 SshdSocketAddress Modifier and Type Method Description SshdSocketAddress
SessionHelper. getBoundRemotePortForward(int port)
Methods in org.apache.sshd.common.session.helpers that return types with arguments of type SshdSocketAddress Modifier and Type Method Description java.util.List<SshdSocketAddress>
SessionHelper. getBoundLocalPortForwards(int port)
java.util.List<java.util.Map.Entry<SshdSocketAddress,SshdSocketAddress>>
SessionHelper. getLocalForwardsBindings()
java.util.List<java.util.Map.Entry<SshdSocketAddress,SshdSocketAddress>>
SessionHelper. getLocalForwardsBindings()
java.util.List<java.util.Map.Entry<java.lang.Integer,SshdSocketAddress>>
SessionHelper. getRemoteForwardsBindings()
java.util.List<SshdSocketAddress>
SessionHelper. getStartedLocalPortForwards()
-
Uses of SshdSocketAddress in org.apache.sshd.common.util.net
Fields in org.apache.sshd.common.util.net declared as SshdSocketAddress Modifier and Type Field Description static SshdSocketAddress
SshdSocketAddress. LOCALHOST_ADDRESS
A dummy placeholder that can be used instead ofnull
sMethods in org.apache.sshd.common.util.net that return SshdSocketAddress Modifier and Type Method Description static SshdSocketAddress
SshdSocketAddress. toSshdSocketAddress(java.net.SocketAddress addr)
Methods in org.apache.sshd.common.util.net that return types with arguments of type SshdSocketAddress Modifier and Type Method Description static <V> java.util.Map.Entry<SshdSocketAddress,? extends V>
SshdSocketAddress. findMatchingOptionalWildcardEntry(java.util.Map<SshdSocketAddress,? extends V> map, SshdSocketAddress address)
Methods in org.apache.sshd.common.util.net with parameters of type SshdSocketAddress Modifier and Type Method Description static <V> V
SshdSocketAddress. findByOptionalWildcardAddress(java.util.Map<SshdSocketAddress,? extends V> map, SshdSocketAddress address)
static <V> java.util.Map.Entry<SshdSocketAddress,? extends V>
SshdSocketAddress. findMatchingOptionalWildcardEntry(java.util.Map<SshdSocketAddress,? extends V> map, SshdSocketAddress address)
protected boolean
SshdSocketAddress. isEquivalent(SshdSocketAddress that)
static <V> V
SshdSocketAddress. removeByOptionalWildcardAddress(java.util.Map<SshdSocketAddress,? extends V> map, SshdSocketAddress address)
Method parameters in org.apache.sshd.common.util.net with type arguments of type SshdSocketAddress Modifier and Type Method Description static <V> V
SshdSocketAddress. findByOptionalWildcardAddress(java.util.Map<SshdSocketAddress,? extends V> map, SshdSocketAddress address)
static <V> java.util.Map.Entry<SshdSocketAddress,? extends V>
SshdSocketAddress. findMatchingOptionalWildcardEntry(java.util.Map<SshdSocketAddress,? extends V> map, SshdSocketAddress address)
static <V> V
SshdSocketAddress. removeByOptionalWildcardAddress(java.util.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 SshdSocketAddress Modifier and Type Field Description private SshdSocketAddress
TcpipServerChannel. originatorAddress
private SshdSocketAddress
TcpipServerChannel. tunnelEntrance
private SshdSocketAddress
TcpipServerChannel. tunnelExit
Methods in org.apache.sshd.server.forward that return SshdSocketAddress Modifier and Type Method Description SshdSocketAddress
TcpipServerChannel. getOriginatorAddress()
SshdSocketAddress
TcpipServerChannel. getTunnelEntrance()
SshdSocketAddress
TcpipServerChannel. getTunnelExit()
Methods in org.apache.sshd.server.forward with parameters of type SshdSocketAddress Modifier and Type Method Description boolean
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(java.lang.String request, Session session, SshdSocketAddress target)
-