GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Search
  • Help
  • io.netty.handler.codec.socks
  • SocksCmdRequest

This view

  • Original page
  • New address

GeezerVison is showing netty.io — SocksCmdRequest (Netty API Reference (4.1.141.Final))

Class SocksCmdRequest

java.lang.Object
io.netty.handler.codec.socks.SocksMessage
io.netty.handler.codec.socks.SocksRequest
io.netty.handler.codec.socks.SocksCmdRequest

public final class SocksCmdRequest extends SocksRequest
An socks cmd request.
See Also:
  • SocksCmdResponse
  • SocksCmdRequestDecoder
  • Constructor Summary

    Constructors
    Constructor
    Description
    SocksCmdRequest(SocksCmdType cmdType, SocksAddressType addressType, String host, int port)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    SocksAddressType
    addressType()
    Returns the SocksAddressType of this SocksCmdRequest
    SocksCmdType
    cmdType()
    Returns the SocksCmdType of this SocksCmdRequest
    void
    encodeAsByteBuf(ByteBuf byteBuf)
     
    String
    host()
    Returns host that is used as a parameter in SocksCmdType
    int
    port()
    Returns port that is used as a parameter in SocksCmdType

    Methods inherited from class SocksRequest

    requestType
    Modifier and Type
    Method
    Description
    SocksRequestType
    requestType()
    Returns socks request type

    Methods inherited from class SocksMessage

    protocolVersion, type
    Modifier and Type
    Method
    Description
    SocksProtocolVersion
    protocolVersion()
    Returns the SocksProtocolVersion of this SocksMessage
    SocksMessageType
    type()
    Returns the SocksMessageType of this SocksMessage

    Methods inherited from class Object

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

    • SocksCmdRequest

      public SocksCmdRequest(SocksCmdType cmdType, SocksAddressType addressType, String host, int port)
  • Method Details

    • cmdType

      public SocksCmdType cmdType()
      Returns the SocksCmdType of this SocksCmdRequest
      Returns:
      The SocksCmdType of this SocksCmdRequest
    • addressType

      public SocksAddressType addressType()
      Returns the SocksAddressType of this SocksCmdRequest
      Returns:
      The SocksAddressType of this SocksCmdRequest
    • host

      public String host()
      Returns host that is used as a parameter in SocksCmdType
      Returns:
      host that is used as a parameter in SocksCmdType
    • port

      public int port()
      Returns port that is used as a parameter in SocksCmdType
      Returns:
      port that is used as a parameter in SocksCmdType
    • encodeAsByteBuf

      public void encodeAsByteBuf(ByteBuf byteBuf)
      Specified by:
      encodeAsByteBuf in class SocksMessage
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.