public class TorSocksChannel extends TorChannel
| Modifier and Type | Field and Description |
|---|---|
private static int |
DATA_MODE |
private byte[] |
m_data |
private int |
m_state |
private Tor |
m_Tor |
private int |
m_version |
private static int |
SOCKS_4 |
private static int |
SOCKS_5 |
private static int |
SOCKS_WAIT_FOR_VERSION |
private static int |
SOCKS4_WAIT_FOR_REQUEST |
private static int |
SOCKS5_WAIT_FOR_METHODS |
private static int |
SOCKS5_WAIT_FOR_REQUEST |
m_circuitm_bIsClosed, m_bIsClosedByPeer, m_idHTTP, SMTP, SOCKS, TCP, UDP, UDP_OVER_TCP, UDP_OVER_UDP, VPN| Constructor and Description |
|---|
TorSocksChannel(Tor tor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
send(byte[] arg0,
int len)
Called if some bytes should be send over this Sock channel
|
private void |
state_WaitForMethods(byte[] arg0,
int len) |
private void |
state_WaitForRequest_Socks4(byte[] arg0,
int len) |
private void |
state_WaitForRequest_Socks5(byte[] arg0,
int len) |
private void |
state_WaitForVersion(byte[] arg0,
int len) |
close_impl, close, closedByPeer, connect, decreaseSendRelayCellsWaitingForDelivery, dispatchCell, getOutputBlockSize, isClosed, isClosedByPeer, setCircuit, setDoNotCloseChannelOnErrorDuringConnect, setStreamIDfinalize, getInputStream, getOutputStream, hashCode, recvprivate static final int SOCKS_WAIT_FOR_VERSION
private static final int SOCKS5_WAIT_FOR_METHODS
private static final int SOCKS5_WAIT_FOR_REQUEST
private static final int SOCKS4_WAIT_FOR_REQUEST
private static final int DATA_MODE
private static final int SOCKS_5
private static final int SOCKS_4
private int m_state
private int m_version
private byte[] m_data
private Tor m_Tor
public TorSocksChannel(Tor tor) throws java.io.IOException
java.io.IOExceptionprotected void send(byte[] arg0,
int len)
throws java.io.IOException
send in class TorChanneljava.io.IOExceptionprivate void state_WaitForVersion(byte[] arg0,
int len)
throws java.io.IOException
java.io.IOExceptionprivate void state_WaitForMethods(byte[] arg0,
int len)
throws java.io.IOException
java.io.IOExceptionprivate void state_WaitForRequest_Socks4(byte[] arg0,
int len)
throws java.io.IOException
java.io.IOExceptionprivate void state_WaitForRequest_Socks5(byte[] arg0,
int len)
throws java.io.IOException
java.io.IOExceptionCopyright © 2023. All rights reserved.