Class SocksProxy.Proxy

java.lang.Object
org.apache.sshd.common.forward.SocksProxy.Proxy
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
SocksProxy.Socks4, SocksProxy.Socks5
Enclosing class:
SocksProxy

public abstract class SocksProxy.Proxy extends Object implements Closeable
Author:
Apache MINA SSHD Project
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected org.apache.sshd.common.io.IoSession
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Proxy(org.apache.sshd.common.io.IoSession session)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    onMessage(org.apache.sshd.common.util.buffer.Buffer buffer)
     
    protected void
    sendReply(org.apache.sshd.common.util.buffer.Buffer message, boolean success, LocalWindow window, long windowSize)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • session

      protected org.apache.sshd.common.io.IoSession session
    • channel

      protected TcpipClientChannel channel
  • Constructor Details

    • Proxy

      protected Proxy(org.apache.sshd.common.io.IoSession session)
  • Method Details

    • onMessage

      protected void onMessage(org.apache.sshd.common.util.buffer.Buffer buffer) throws IOException
      Throws:
      IOException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • sendReply

      protected void sendReply(org.apache.sshd.common.util.buffer.Buffer message, boolean success, LocalWindow window, long windowSize)