#include <ECG_Reconnect_ConsumerEC_Control.h>
Inheritance diagram for TAO_ECG_Reconnect_ConsumerEC_Control:
Defines the interface for the consumer event channel control strategy. This strategy handles misbehaving or failing consumer event channels.
This control tries to reconnect to the consumer ec incase of a connection loss and then does a reconnect when the connection is back again. When also a restart of the consumer ec must be handled correctly, then the consumer ec must use a persistent IOR.
|
Constructor. It does not assume ownership of the event_channel parameter. |
|
Destructor.
|
|
Activate any internal threads or timers used to poll the state of the event channel. Reimplemented from TAO_ECG_ConsumerEC_Control. |
|
When pushing an event to the event channel a CORBA::OBJECT_NOT_EXIST exception was raised. The only interpretation is that the object has been destroyed. The strategy has to (at the very least), reclaim all the resources attached to that object. Reimplemented from TAO_ECG_ConsumerEC_Control. |
|
Receive the timeout from the adapter.
|
|
Check if the consumers still exists. It is a helper method for handle_timeout() to isolate the exceptions. |
|
Reconnect to the consumer ec.
|
|
Shutdown any internal threads or timers used to poll the state of the event channel. Reimplemented from TAO_ECG_ConsumerEC_Control. |
|
Some system exception was raised while trying to contact the event channel Reimplemented from TAO_ECG_ConsumerEC_Control. |
|
Look if we can reconnect again.
|
|
The Adapter for the reactor events.
|
|
The gateway.
|
|
Do we have a connection to the consumer ec.
|
|
The ORB.
|
|
To control the timeout policy in the thread.
|
|
Precomputed policy list to the set timeout.
|
|
The polling rate.
|
|
The ORB reactor.
|
|
The polling timeout.
|