Multiple Response Query
This example shows a retrieve command that results in multiple responses coming back. This would
happen when there are so many subscriptions matching the query that a single response would be
too big to handle. The single response is broken into many smaller responses. The real response size
limit is 4KB, but for the purposes of this example it is much smaller.
Table 32: Multiple Response Query Example
DescriptionMessage
A PDBI connection has been
established to the Active
PDBA.
connect(iid 1, version 1.0)→
rsp (iid 1, rc 0, data (connectId 5, side active))←
A read transaction has been
opened.
begin_txn(iid 2, type read)→
rsp (iid 2, rc 0)←
A query for all single DNs
within the range from
rtrv_sub(iid 3, bdn 9195550000, edn 9195559999)→
rsp (iid 3, rc 1016, data (segment 1, dns (dn 9195551212, imsi
9195551000 sp 9195556666), (dn 9195551213, imsi 9195551000,
←
←
919550000 to 9195559999 was
sent. For this example, the
result information will come
sp 9195556666), (dn 9195551214, imsi 9195551000, sp
9195556666) ) ) )←
back in three separate
responses.
rsp (iid 3, rc 1016, data (dns (segment 2, dns ((dn 9195551215,
imsi 9195551000, sp 9195556666), (dn 9195551500, sp
9195555555), (dn 9195551501, imsi 9195552001, (dn 9195551216,
imsi 9195551000, sp 9195556666), sp 9195550000) ) ) )
rsp (iid 3, rc 0, data (dns ((segment 3, dns ((dn 9195551501,
imsi 9195552001, sp 9195550000)) (dn 9195551502, sp
9195550000), (dn 9195551503, sp 9195550000) ) ) )
The read transaction has been
ended.
end_txn(iid 4)→
rsp (iid 4, rc 0)←
The client is done and has
disconnected.
disconnect(iid 5)→
rsp (iid 5, rc 0)←
150
910-6022-001 Revision A, March 2011
PDBI Sample SessionsProvisioning Database Interface Manual