C# Class pGina.Plugin.RADIUS.Packet.AVP

Datei anzeigen Open project: MutonUfoAI/pgina

Public Methods

Method Description
AVP ( ) : System
AttributeTypeCount ( AttributeType type ) : byte
addAttribute ( AttributeType type, byte value ) : void
allAttributes ( ) : byte[]>>.IEnumerable
containsAttribute ( AttributeType type ) : bool
getByteArrayAttributes ( AttributeType type, byte vsa = null, byte vsaType ) : IEnumerable
getFirstRawAttribute ( AttributeType type ) : byte[]
toByteArray ( ) : byte[]

Private Methods

Method Description
addTypeToDict ( AttributeType type ) : void

Method Details

AVP() public method

public AVP ( ) : System
return System

AttributeTypeCount() public method

public AttributeTypeCount ( AttributeType type ) : byte
type AttributeType
return byte

addAttribute() public method

public addAttribute ( AttributeType type, byte value ) : void
type AttributeType
value byte
return void

allAttributes() public method

public allAttributes ( ) : byte[]>>.IEnumerable
return byte[]>>.IEnumerable

containsAttribute() public method

public containsAttribute ( AttributeType type ) : bool
type AttributeType
return bool

getByteArrayAttributes() public method

public getByteArrayAttributes ( AttributeType type, byte vsa = null, byte vsaType ) : IEnumerable
type AttributeType
vsa byte
vsaType byte
return IEnumerable

getFirstRawAttribute() public method

public getFirstRawAttribute ( AttributeType type ) : byte[]
type AttributeType
return byte[]

toByteArray() public method

public toByteArray ( ) : byte[]
return byte[]