#include <Delivery_Request.h>
Collaboration diagram for TAO_Notify::Delivery_Request:

Public Member Functions | |
| Delivery_Request (const Routing_Slip_Ptr &routing_slip, size_t request_id) | |
| ~Delivery_Request () | |
| a normal destructor. | |
| void | complete () |
| A method to indicate the delivery is complete. | |
| const TAO_Notify_Event::Ptr & | event () const |
| An accessor method for the event associated with the Routing Slip that owns this Delivery request. | |
| const Routing_Slip_Ptr & | routing_slip () const |
| An accessor method for the routing slip that owns this request. | |
| void | set_delivery_type (ACE_CDR::Octet type) |
| Capture Delivery Type for the Delivery Method. | |
| void | set_destination_id (IdVec &destination_id) |
| Capture destination ID for the Delivery Request. | |
| void | marshal (TAO_OutputCDR &cdr) |
| Marshal peristent information for this delivery request and its delivery methods into a CDR stream. | |
| unsigned long | sequence () const |
| expose routing slip method | |
| bool | should_retry () const |
| expose routing slip method | |
| void | dispatch (TAO_Notify_ProxySupplier *proxy_supplier, bool filter) |
| expose routing slip method | |
| bool | operator== (const Delivery_Request &rhs) const |
| bool | operator!= (const Delivery_Request &rhs) const |
Static Public Member Functions | |
| Delivery_Request_Ptr | create (const Routing_Slip_Ptr &routing_slip, size_t request_id, TAO_Notify_EventChannelFactory &ecf, TAO_InputCDR &cdr) |
| A static "factory" method for use during restart. | |
Private Member Functions | |
| Delivery_Request () | |
| No null constructor. | |
| Delivery_Request (const Delivery_Request &rhs) | |
| No copy constructor. | |
| Delivery_Request & | operator= (const Delivery_Request &rhs) |
| no assignment operator | |
Private Attributes | |
| Routing_Slip_Ptr | routing_slip_ |
| size_t | request_id_ |
| ACE_CDR::Octet | delivery_type_ |
| IdVec | destination_id_ |
A Routing Slip contains a collection of Delivery Requests. A Delivery Request is associated with a Delivery Method. Delivery Methods should be lightweight objects because they are copied, queued, and otherwise passed around while they are waiting to be executed. The Delivery Request is more stable.
|
||||||||||||
|
Normal constructor
|
|
|
a normal destructor.
|
|
|
No null constructor.
|
|
|
No copy constructor.
|
|
|
A method to indicate the delivery is complete. To be called by the delivery method associated with this delivery request. |
|
||||||||||||||||||||
|
A static "factory" method for use during restart.
|
|
||||||||||||
|
expose routing slip method
|
|
|
An accessor method for the event associated with the Routing Slip that owns this Delivery request.
|
|
|
Marshal peristent information for this delivery request and its delivery methods into a CDR stream. Called during persistent event storage. |
|
|
|
|
|
no assignment operator
|
|
|
|
|
|
An accessor method for the routing slip that owns this request.
|
|
|
expose routing slip method
|
|
|
Capture Delivery Type for the Delivery Method. Called by the delivery method to capture information that should be persisted. |
|
|
Capture destination ID for the Delivery Request. Called by the delivery method to capture information that should be persisted. |
|
|
expose routing slip method
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1