2.2.6.11 LINEAGENTGROUPLIST

The LINEAGENTGROUPLIST packet describes a list of ACD agent groups. This packet can contain an array of LINEAGENTGROUPENTRY packets.

Multiple packets use the LINEAGENTGROUPLIST packet; these include the GetAgentGroupList, GetGroupList, and SetAgentGroup packets.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwTotalSize

dwNeededSize

dwUsedSize

dwNumEntries

dwListSize

dwListOffset

VarData (variable)

...

dwTotalSize (4 bytes): An unsigned 32-bit integer. The total size, in bytes, allocated to this data structure.

dwNeededSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, needed to hold all the information requested.

dwUsedSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the portion of this packet that contains useful information.

dwNumEntries (4 bytes): An unsigned 32-bit integer. The number of LINEAGENTGROUPENTRY packets that appear in the list array specified by dwListOffset. The value MUST be 0 if no agent is associated with (logged on) the address.

dwListSize (4 bytes): An unsigned 32-bit integer. The size of the group list array, in bytes.

dwListOffset (4 bytes): An unsigned 32-bit integer. Offset from the beginning of this packet to an array of LINEAGENTGROUPENTRY packets that specify information about each ACD group into which the current agent is to be associated with (logged on) the address. This is dwNumEntries times SIZEOF(LINEAGENTGROUPENTRY). The size of the field MUST be specified by dwListSize.

VarData (variable): An array of LINEAGENTGROUPENTRY packets that specify information about each ACD group into which the current agent is to be associated with (logged on) at the address as specified by dwListOffset.