public class Socks5Request 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 readRequest()
throws SocksRequestException
readRequest in class SocksRequestSocksRequestExceptionpublic void sendConnectionRefused()
throws SocksRequestException
SocksRequestExceptionpublic void sendError(boolean isUnsupportedCommand)
throws SocksRequestException
SocksRequestExceptionpublic void sendSuccess()
throws SocksRequestException
SocksRequestExceptionCopyright © 2015. All rights reserved.