#include <XKMSCompoundRequest.hpp>
Inheritance diagram for XKMSCompoundRequest:


The <CompoundRequest> is used to merge a number of separate requests into a single message. It is a very simple type - simply a holding Request that has all the sub-requests held within it.
The schema definition for CompoundRequest is as follows :
<!-- CompoundRequest -->
<element name="CompoundRequest" type="xkms:CompoundRequestType"/>
<complexType name="CompoundRequestType">
<complexContent>
<extension base="xkms:RequestAbstractType">
<choice maxOccurs="unbounded">
<element ref="xkms:LocateRequest"/>
<element ref="xkms:ValidateRequest"/>
<element ref="xkms:RegisterRequest"/>
<element ref="xkms:ReissueRequest"/>
<element ref="xkms:RecoverRequest"/>
<element ref="xkms:RevokeRequest"/>
</choice>
</extension>
</complexContent>
</complexType>
<!-- /CompoundRequest -->
Constructors and Destructors | |
| virtual | ~XKMSCompoundRequest () |
| XKMSCompoundRequest () | |
Public Member Functions | |
Getter Interface Methods | |
| virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | getElement (void) const =0 |
| Return the element at the base of the message. | |
| virtual int | getRequestListSize (void)=0 |
| Obtain the number of requests within the compound request. | |
| virtual XKMSRequestAbstractType * | getRequestListItem (int item)=0 |
| Obtain a request item. | |
Setter Interface Methods | |
| virtual XKMSLocateRequest * | createLocateRequest (const XMLCh *service, const XMLCh *id=NULL)=0 |
| Add a LocateRequest item. | |
| virtual XKMSValidateRequest * | createValidateRequest (const XMLCh *service, const XMLCh *id=NULL)=0 |
| Add a ValidateRequest item. | |
| virtual XKMSRegisterRequest * | createRegisterRequest (const XMLCh *service, const XMLCh *id=NULL)=0 |
| Add a RegisterRequest item. | |
|
|
|
|
|
|
|
||||||||||||
|
Add a LocateRequest item. Appends a LocateRequest to the CompoundRequest object and returns the newly created object
|
|
||||||||||||
|
Add a RegisterRequest item. Appends a RegisterRequest to the CompoundRequest object and returns the newly created object
|
|
||||||||||||
|
Add a ValidateRequest item. Appends a ValidateRequest to the CompoundRequest object and returns the newly created object
|
|
|
Return the element at the base of the message.
Implements XKMSRequestAbstractType. |
|
|
Obtain a request item. Obtain a particular request from the list of requests held in this compound object
|
|
|
Obtain the number of requests within the compound request. This class holds a list of requests that can be accessed using the getRequestListItem method. This method allows an application to determine how many request items there are.
|
1.4.2