Class SocksProxy

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.closeable.IoBaseCloseable
org.apache.sshd.common.util.closeable.AbstractCloseable
org.apache.sshd.common.forward.SocksProxy
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.common.Closeable, org.apache.sshd.common.io.IoHandler

public class SocksProxy extends org.apache.sshd.common.util.closeable.AbstractCloseable implements org.apache.sshd.common.io.IoHandler
SOCKS proxy server, supporting simple socks4/5 protocols.
Author:
Apache MINA SSHD Project
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
    class 
     
    class 
     

    Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

    org.apache.sshd.common.util.closeable.AbstractCloseable.State
  • Field Summary

    Fields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

    closeFuture, futureLock, state

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

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    exceptionCaught(org.apache.sshd.common.io.IoSession session, Throwable cause)
     
    void
    messageReceived(org.apache.sshd.common.io.IoSession session, org.apache.sshd.common.util.Readable message)
     
    void
    sessionClosed(org.apache.sshd.common.io.IoSession session)
     
    void
    sessionCreated(org.apache.sshd.common.io.IoSession session)
     

    Methods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

    addCloseFutureListener, builder, close, doCloseGracefully, doCloseImmediately, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListener

    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 Object

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

    Methods inherited from interface org.apache.sshd.common.Closeable

    close, isOpen
  • Constructor Details

  • Method Details

    • sessionCreated

      public void sessionCreated(org.apache.sshd.common.io.IoSession session) throws Exception
      Specified by:
      sessionCreated in interface org.apache.sshd.common.io.IoHandler
      Throws:
      Exception
    • sessionClosed

      public void sessionClosed(org.apache.sshd.common.io.IoSession session) throws Exception
      Specified by:
      sessionClosed in interface org.apache.sshd.common.io.IoHandler
      Throws:
      Exception
    • messageReceived

      public void messageReceived(org.apache.sshd.common.io.IoSession session, org.apache.sshd.common.util.Readable message) throws Exception
      Specified by:
      messageReceived in interface org.apache.sshd.common.io.IoHandler
      Throws:
      Exception
    • exceptionCaught

      public void exceptionCaught(org.apache.sshd.common.io.IoSession session, Throwable cause) throws Exception
      Specified by:
      exceptionCaught in interface org.apache.sshd.common.io.IoHandler
      Throws:
      Exception