-
Notifications
You must be signed in to change notification settings - Fork 29
Packet
Horace Li edited this page Jul 3, 2020
·
1 revision
-
RadiusPacket
represents packet and associated data, withRadiusRequest
andRadiusResponse
as the two variants.-
encodeRequest()
andencodeResponse()
return a new copy of the current RadiusPacket with the Authenticator -
AccessRequest
andAccessResponse
has a different way of encoding/verifying the packet authenticator compared to other Radius request/response types and encodes the appropriate password/Message-Authenticator attributes.
-
-
RadiusRequest
andRadiusResponse
has static methods for creating packets and using a more specific subclass where possible, and for generating a valid packet identifier.- If no specicfic subclass is appropriate, defaults to
GenericRadiusRequest
andGenericRadiusReponse
respectively
- If no specicfic subclass is appropriate, defaults to
-
PacketType
contains list of constants of packet types. It's intentionally not an enum to allow for types that aren't included in the list / added in the future. -
PacketEncoder
contains methods for converting to/from netty Datagram and ByteBufs.