Package org.tinyradius.packet.request
Class AccountingRequest
java.lang.Object
org.tinyradius.packet.BaseRadiusPacket
org.tinyradius.packet.request.RadiusRequest
org.tinyradius.packet.request.AccountingRequest
- All Implemented Interfaces:
AttributeHolder
,NestedAttributeHolder
,RadiusPacket
public class AccountingRequest extends RadiusRequest
This class represents a Radius packet of the type Accounting-Request.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AccountingRequest(Dictionary dictionary, byte identifier, byte[] authenticator, java.util.List<RadiusAttribute> attributes)
Constructs an Accounting-Request packet to be sent to a Radius server. -
Method Summary
Methods inherited from class org.tinyradius.packet.request.RadiusRequest
copy, encodeRequest, verifyRequest
Methods inherited from class org.tinyradius.packet.BaseRadiusPacket
createHashedAuthenticator, equals, getAttributes, getAuthenticator, getChildVendorId, getDictionary, getId, getMd5Digest, getType, hashCode, toString, verifyPacketAuth
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.tinyradius.attribute.util.AttributeHolder
addAttribute, addAttribute, getAttribute, getAttribute, getAttributeBytes, getAttributeMap, getAttributes, getAttributes, getAttributeString, lookupAttributeType, removeAttributes, removeLastAttribute
Methods inherited from interface org.tinyradius.attribute.util.NestedAttributeHolder
addAttribute, getAttribute, getAttributes, getAttributes, getVendorSpecificAttributes, removeAttribute, removeAttributes, removeSubAttribute
-
Constructor Details
-
AccountingRequest
public AccountingRequest(Dictionary dictionary, byte identifier, byte[] authenticator, java.util.List<RadiusAttribute> attributes)Constructs an Accounting-Request packet to be sent to a Radius server.- Parameters:
dictionary
- custom dictionary to useidentifier
- packet identifierauthenticator
- authenticator for packet, nullableattributes
- list of attributes
-