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 SshdSocketAddressChannelDirectTcpip.localprivate final SshdSocketAddressChannelDirectTcpip.remoteMethods 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_SERVERMethods 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 DynamicPortForwardingTrackerClientSession.createDynamicPortForwardingTracker(SshdSocketAddress local) Starts a dynamic port forwarding and returns a tracker that stops the forwarding when theclose()method is called.default ExplicitPortForwardingTrackerClientSession.createLocalPortForwardingTracker(int localPort, SshdSocketAddress remote) Starts a local port forwarding and returns a tracker that stops the forwarding when theclose()method is called.default ExplicitPortForwardingTrackerClientSession.createLocalPortForwardingTracker(SshdSocketAddress local, SshdSocketAddress remote) Starts a local port forwarding and returns a tracker that stops the forwarding when theclose()method is called.default ExplicitPortForwardingTrackerClientSession.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) voidAbstractClientSession.stopDynamicPortForwarding(SshdSocketAddress local) voidAbstractClientSession.stopLocalPortForwarding(SshdSocketAddress local) voidAbstractClientSession.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 SshdSocketAddressPortForwardingTracker.boundAddressprivate final SshdSocketAddressPortForwardingTracker.localAddressprivate final SshdSocketAddressExplicitPortForwardingTracker.remoteAddressMethods 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) protectedPortForwardingTracker(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 SshdSocketAddressLocalForwardingEntry.boundprivate final SshdSocketAddressLocalForwardingEntry.combinedprivate final SshdSocketAddressLocalForwardingEntry.localprotected SshdSocketAddressTcpipClientChannel.localEntryprotected final SshdSocketAddressTcpipClientChannel.remoteprivate SshdSocketAddressTcpipClientChannel.tunnelEntranceprivate SshdSocketAddressTcpipClientChannel.tunnelExitFields in org.apache.sshd.common.forward with type parameters of type SshdSocketAddressModifier and TypeFieldDescriptionprivate final Map<SshdSocketAddress, InetSocketAddress> DefaultForwarder.boundLocalsprivate final Map<SshdSocketAddress, SshdSocketAddress> DefaultForwarder.localToRemoteprivate final Map<SshdSocketAddress, SshdSocketAddress> DefaultForwarder.localToRemoteprivate final Map<Integer, SshdSocketAddress> DefaultForwarder.remoteToLocalMethods 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 SshdSocketAddressLocalForwardingEntry.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 SshdSocketAddressPortForwardingManager.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 InetSocketAddressDefaultForwarder.doBind(SshdSocketAddress address, IoAcceptor acceptor) default voidPortForwardingEventListener.establishedDynamicTunnel(Session session, SshdSocketAddress local, SshdSocketAddress boundAddress, Throwable reason) Signals a successful/failed attempt to establish a dynamic port forwardingdefault voidPortForwardingEventListener.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 voidPortForwardingEventListener.establishingDynamicTunnel(Session session, SshdSocketAddress local) Signals the attempt to establish a dynamic port forwardingdefault voidPortForwardingEventListener.establishingExplicitTunnel(Session session, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding) Signals the attempt to establish a local/remote port forwardingvoidDefaultForwarder.localPortForwardingCancelled(SshdSocketAddress local) voidForwarder.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 SshdSocketAddressLocalForwardingEntry.resolveCombinedBoundAddress(SshdSocketAddress local, SshdSocketAddress bound) protected voidDefaultForwarder.signalEstablishedDynamicTunnel(PortForwardingEventListener listener, SshdSocketAddress local, SshdSocketAddress boundAddress, Throwable reason) protected voidDefaultForwarder.signalEstablishedDynamicTunnel(SshdSocketAddress local, SshdSocketAddress boundAddress, Throwable reason) protected voidDefaultForwarder.signalEstablishedExplicitTunnel(PortForwardingEventListener listener, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, Throwable reason) protected voidDefaultForwarder.signalEstablishedExplicitTunnel(SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, Throwable reason) protected voidDefaultForwarder.signalEstablishingDynamicTunnel(PortForwardingEventListener listener, SshdSocketAddress local) protected voidDefaultForwarder.signalEstablishingDynamicTunnel(SshdSocketAddress local) protected voidDefaultForwarder.signalEstablishingExplicitTunnel(PortForwardingEventListener listener, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding) protected voidDefaultForwarder.signalEstablishingExplicitTunnel(SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding) protected voidDefaultForwarder.signalTearingDownDynamicTunnel(PortForwardingEventListener listener, SshdSocketAddress address) protected voidDefaultForwarder.signalTearingDownDynamicTunnel(SshdSocketAddress address) protected voidDefaultForwarder.signalTearingDownExplicitTunnel(PortForwardingEventListener listener, SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remoteAddress) protected voidDefaultForwarder.signalTearingDownExplicitTunnel(SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remote) protected voidDefaultForwarder.signalTornDownDynamicTunnel(PortForwardingEventListener listener, SshdSocketAddress address, Throwable reason) protected voidDefaultForwarder.signalTornDownDynamicTunnel(SshdSocketAddress address, Throwable reason) protected voidDefaultForwarder.signalTornDownExplicitTunnel(PortForwardingEventListener listener, SshdSocketAddress boundAddress, boolean localForwarding, SshdSocketAddress remoteAddress, Throwable reason) protected voidDefaultForwarder.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 SshdSocketAddressPortForwardingManager.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.voidDefaultForwarder.stopDynamicPortForwarding(SshdSocketAddress local) voidPortForwardingManager.stopDynamicPortForwarding(SshdSocketAddress local) Stop a previously started dynamic port forwarding.voidDefaultForwarder.stopLocalPortForwarding(SshdSocketAddress local) voidPortForwardingManager.stopLocalPortForwarding(SshdSocketAddress local) Stop forwarding the given local address.voidDefaultForwarder.stopRemotePortForwarding(SshdSocketAddress remote) voidPortForwardingManager.stopRemotePortForwarding(SshdSocketAddress remote) Stop forwarding of the given remote address.default voidPortForwardingEventListener.tearingDownDynamicTunnel(Session session, SshdSocketAddress address) Signals a request to tear down a dynamic forwardingdefault voidPortForwardingEventListener.tearingDownExplicitTunnel(Session session, SshdSocketAddress address, boolean localForwarding, SshdSocketAddress remoteAddress) Signals a request to tear down a local/remote port forwardingdefault voidPortForwardingEventListener.tornDownDynamicTunnel(Session session, SshdSocketAddress address, Throwable reason) Signals a successful/failed request to tear down a dynamic port forwardingdefault voidPortForwardingEventListener.tornDownExplicitTunnel(Session session, SshdSocketAddress address, boolean localForwarding, SshdSocketAddress remoteAddress, Throwable reason) Signals a successful/failed request to tear down a local/remote port forwardingprotected voidDefaultForwarder.unbindDynamicForwarding(SshdSocketAddress local, SocksProxy proxy, InetSocketAddress bound) protected voidDefaultForwarder.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 SshdSocketAddressSshdSocketAddress.LOCALHOST_ADDRESSA dummy placeholder that can be used instead ofnullsMethods in org.apache.sshd.common.util.net that return SshdSocketAddressModifier and TypeMethodDescriptionstatic SshdSocketAddressSshdSocketAddress.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> VSshdSocketAddress.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 booleanSshdSocketAddress.isEquivalent(SshdSocketAddress that) static <V> VSshdSocketAddress.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> VSshdSocketAddress.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> VSshdSocketAddress.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 SshdSocketAddressTcpipServerChannel.originatorAddressprivate SshdSocketAddressTcpipServerChannel.tunnelEntranceprivate SshdSocketAddressTcpipServerChannel.tunnelExitMethods 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 TypeMethodDescriptionbooleanStaticDecisionForwardingFilter.canConnect(TcpForwardingFilter.Type type, SshdSocketAddress address, Session session) booleanTcpForwardingFilter.canConnect(TcpForwardingFilter.Type type, SshdSocketAddress address, Session session) Determine if the session may create an outbound connection.booleanStaticDecisionForwardingFilter.canListen(SshdSocketAddress address, Session session) booleanTcpForwardingFilter.canListen(SshdSocketAddress address, Session session) Determine if the session may listen for inbound connections.protected booleanStaticDecisionForwardingFilter.checkAcceptance(String request, Session session, SshdSocketAddress target)