public class Socks4Request extends SocksRequest
| Modifier and Type | Method and Description |
|---|---|
int |
getCommandCode() |
boolean |
isConnectRequest() |
void |
readRequest() |
void |
sendConnectionRefused() |
void |
sendError(boolean isUnsupportedCommand) |
void |
sendSuccess() |
getAddress, getHostname, getPort, getTarget, hasHostname, readAll, readAll, readByte, readIPv4AddressData, readIPv6AddressData, readNullTerminatedString, readPortData, setHostname, setIPv4AddressData, setPortData, socketWritepublic boolean isConnectRequest()
isConnectRequest in class SocksRequestpublic int getCommandCode()
getCommandCode in class SocksRequestpublic void sendConnectionRefused()
throws SocksRequestException
SocksRequestExceptionpublic void sendError(boolean isUnsupportedCommand)
throws SocksRequestException
SocksRequestExceptionpublic void sendSuccess()
throws SocksRequestException
SocksRequestExceptionpublic void readRequest()
throws SocksRequestException
readRequest in class SocksRequestSocksRequestExceptionCopyright © 2015. All rights reserved.