2.2.6.15 LINEAGENTSESSIONLIST

The LINEAGENTSESSIONLIST packet describes a list of ACD agent sessions. This packet can contain an array of LINEAGENTSESSIONENTRY packets. LINEAGENTSESSIONENTRY is supplied by the server in the field VarData of the completion packet of the GetAgentSessionList request.


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 (variable)

...

VarData (variable)

...

dwTotalSize (4 bytes): The total size, in bytes, allocated to this packet.

dwNeededSize (4 bytes): The size, in bytes, needed to hold all the information requested.

dwUsedSize (4 bytes): The size, in bytes, of the portion of this packet that contains useful information.

dwNumEntries (4 bytes): The number of LINEAGENTSESSIONENTRY packets that appear in the list array. The value is 0 if no agent sessions have been created.

dwListSize (4 bytes): The size, in bytes, of the agent session list array.

dwListOffset (variable): The offset from the beginning of this packet to an array of LINEAGENTSESSIONENTRY packets that specify information about agents. The dwListOffset member is dwNumEntries times SIZEOF(LINEAGENTSESSIONENTRY). The size of the field MUST be specified by dwListSize.

VarData (variable): An array of LINEAGENTSESSIONENTRY packets that specify information about agents as specified by dwListOffset.