#include <ECG_UDP_Sender.h>
Inheritance diagram for TAO_ECG_UDP_Sender:
[NOHEADER] | |
~TAO_ECG_UDP_Sender (void) | |
void | init (RtecEventChannelAdmin::EventChannel_ptr lcl_ec, RtecUDPAdmin::AddrServer_ptr addr_server, TAO_ECG_Refcounted_Endpoint endpoint_rptr ACE_ENV_ARG_DECL) |
void | connect (const RtecEventChannelAdmin::ConsumerQOS &sub ACE_ENV_ARG_DECL) |
Connect or reconnect to the EC with the given subscriptions. | |
void | shutdown (ACE_ENV_SINGLE_ARG_DECL) |
TAO_EC_Servant_Var< TAO_ECG_UDP_Sender > | create (CORBA::Boolean crc=0) |
Public Member Functions | |
int | mtu (CORBA::ULong mtu) |
CORBA::ULong | mtu (void) const |
int | get_local_addr (ACE_INET_Addr &addr) |
Get the local endpoint used to send the events. | |
virtual void | disconnect_push_consumer (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException) |
virtual void | push (const RtecEventComm::EventSet &events ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Protected Member Functions | |
TAO_ECG_UDP_Sender (CORBA::Boolean crc=0) | |
Private Types | |
typedef TAO_EC_Auto_Command< TAO_ECG_UDP_Sender_Disconnect_Command > | ECG_Sender_Auto_Proxy_Disconnect |
Private Member Functions | |
void | new_connect (const RtecEventChannelAdmin::ConsumerQOS &sub ACE_ENV_ARG_DECL) |
void | reconnect (const RtecEventChannelAdmin::ConsumerQOS &sub ACE_ENV_ARG_DECL) |
Private Attributes | |
RtecEventChannelAdmin::ProxyPushSupplier_var | supplier_proxy_ |
Proxy used to receive events from the Event Channel. | |
RtecEventChannelAdmin::EventChannel_var | lcl_ec_ |
Event Channel to which we act as a consumer. | |
RtecUDPAdmin::AddrServer_var | addr_server_ |
We query this object to determine where the events should be sent. | |
TAO_ECG_CDR_Message_Sender | cdr_sender_ |
Helper for fragmenting and sending cdr-encoded events using udp. | |
ECG_Sender_Auto_Proxy_Disconnect | auto_proxy_disconnect_ |
Manages our connection to Supplier Proxy. |
|
|
|
|
|
Constructor (protected). Clients can create new TAO_ECG_UDP_Sender objects using the static create() method. |
|
Connect or reconnect to the EC with the given subscriptions. NOTE: if we are already connected to EC and a reconnection is necessary, the EC must have reconnects enabled in order for this method to succeed. |
|
Create a new TAO_ECG_UDP_Sender object. (Constructor access is restricted to insure that all TAO_ECG_UDP_Sender objects are heap-allocated.) |
|
Invokes shutdown (), which may result in the object being deleted, if refcounting is used to manage its lifetime. |
|
Get the local endpoint used to send the events.
|
|
|
|
The sender may need to fragment the message, otherwise the network may drop the packets. Setting the MTU can fail if the value is too small (at least the header + 8 bytes must fit). |
|
The sender may need to fragment the message, otherwise the network may drop the packets. Setting the MTU can fail if the value is too small (at least the header + 8 bytes must fit). |
|
|
|
Invokes shutdown (), which may result in the object being deleted, if refcounting is used to manage its lifetime. |
|
|
|
Calling this method may result in decrementing of the reference count (due to deactivation) and deletion of the object. |
|
We query this object to determine where the events should be sent.
|
|
Manages our connection to Supplier Proxy.
|
|
Helper for fragmenting and sending cdr-encoded events using udp.
|
|
Event Channel to which we act as a consumer.
|
|
Proxy used to receive events from the Event Channel.
|