Uses of Enum Class
com.github.jh3nd3rs0n.jargyle.protocolbase.socks5.ReplyCode
Package
Description
Provides classes for the SOCKS5 protocol.
-
Uses of ReplyCode in com.github.jh3nd3rs0n.jargyle.protocolbase.socks5
Modifier and TypeMethodDescriptionReply.getReplyCode()
Returns theReplyCode
of thisReply
.static ReplyCode
Returns the enum constant of this class with the specified name.static ReplyCode
ReplyCode.valueOfByte
(byte b) Returns the enum constant associated with the providedbyte
value.static ReplyCode[]
ReplyCode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Reply
Reply.newFailureInstance
(ReplyCode replyCode) Returns a new failureReply
with the providedReplyCode
, the server bound IPv4Address
of all zeros, and the server boundPort
of zero.static Reply
Reply.newInstance
(ReplyCode rplyCode, Address serverBoundAddr, Port serverBoundPrt) Returns a newReply
with the providedReplyCode
, the provided server boundAddress
, and the provided server boundPort
.