Class ServerPortForwardingEventListener

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.cli.server.helper.ServerEventListenerHelper
org.apache.sshd.cli.server.helper.ServerPortForwardingEventListener
All Implemented Interfaces:
EventListener, org.apache.sshd.common.forward.PortForwardingEventListener, org.apache.sshd.common.NamedResource, org.apache.sshd.common.util.SshdEventListener

public class ServerPortForwardingEventListener extends ServerEventListenerHelper implements org.apache.sshd.common.forward.PortForwardingEventListener
  • Field Summary

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log

    Fields inherited from interface org.apache.sshd.common.NamedResource

    BY_NAME_COMPARATOR, NAME_EXTRACTOR

    Fields inherited from interface org.apache.sshd.common.forward.PortForwardingEventListener

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerPortForwardingEventListener(org.slf4j.Logger logger)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    establishedDynamicTunnel(org.apache.sshd.common.session.Session session, org.apache.sshd.common.util.net.SshdSocketAddress local, org.apache.sshd.common.util.net.SshdSocketAddress boundAddress, Throwable reason)
     
    void
    establishedExplicitTunnel(org.apache.sshd.common.session.Session session, org.apache.sshd.common.util.net.SshdSocketAddress local, org.apache.sshd.common.util.net.SshdSocketAddress remote, boolean localForwarding, org.apache.sshd.common.util.net.SshdSocketAddress boundAddress, Throwable reason)
     
    void
    tornDownDynamicTunnel(org.apache.sshd.common.session.Session session, org.apache.sshd.common.util.net.SshdSocketAddress address, Throwable reason)
     
    void
    tornDownExplicitTunnel(org.apache.sshd.common.session.Session session, org.apache.sshd.common.util.net.SshdSocketAddress address, boolean localForwarding, org.apache.sshd.common.util.net.SshdSocketAddress remoteAddress, Throwable reason)
     

    Methods inherited from class org.apache.sshd.cli.server.helper.ServerEventListenerHelper

    getName

    Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.sshd.common.forward.PortForwardingEventListener

    establishingDynamicTunnel, establishingExplicitTunnel, tearingDownDynamicTunnel, tearingDownExplicitTunnel
  • Constructor Details

    • ServerPortForwardingEventListener

      public ServerPortForwardingEventListener(org.slf4j.Logger logger)
  • Method Details

    • establishedExplicitTunnel

      public void establishedExplicitTunnel(org.apache.sshd.common.session.Session session, org.apache.sshd.common.util.net.SshdSocketAddress local, org.apache.sshd.common.util.net.SshdSocketAddress remote, boolean localForwarding, org.apache.sshd.common.util.net.SshdSocketAddress boundAddress, Throwable reason) throws IOException
      Specified by:
      establishedExplicitTunnel in interface org.apache.sshd.common.forward.PortForwardingEventListener
      Throws:
      IOException
    • tornDownExplicitTunnel

      public void tornDownExplicitTunnel(org.apache.sshd.common.session.Session session, org.apache.sshd.common.util.net.SshdSocketAddress address, boolean localForwarding, org.apache.sshd.common.util.net.SshdSocketAddress remoteAddress, Throwable reason) throws IOException
      Specified by:
      tornDownExplicitTunnel in interface org.apache.sshd.common.forward.PortForwardingEventListener
      Throws:
      IOException
    • establishedDynamicTunnel

      public void establishedDynamicTunnel(org.apache.sshd.common.session.Session session, org.apache.sshd.common.util.net.SshdSocketAddress local, org.apache.sshd.common.util.net.SshdSocketAddress boundAddress, Throwable reason) throws IOException
      Specified by:
      establishedDynamicTunnel in interface org.apache.sshd.common.forward.PortForwardingEventListener
      Throws:
      IOException
    • tornDownDynamicTunnel

      public void tornDownDynamicTunnel(org.apache.sshd.common.session.Session session, org.apache.sshd.common.util.net.SshdSocketAddress address, Throwable reason) throws IOException
      Specified by:
      tornDownDynamicTunnel in interface org.apache.sshd.common.forward.PortForwardingEventListener
      Throws:
      IOException