#include <ESF_Peer_Admin.h>
Inheritance diagram for TAO_ESF_Peer_Admin:


Public Methods | |
| TAO_ESF_Peer_Admin (EVENT_CHANNEL *ec) | |
| Constructor. More... | |
| virtual | ~TAO_ESF_Peer_Admin (void) |
| destructor. More... | |
| virtual void | peer_connected (PEER *peer ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| virtual void | peer_reconnected (PEER *peer ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| virtual void | peer_disconnected (PEER *peer ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Some Event Services that perform filtering have to propagate the consumer connect/disconnect activities to the suppliers, and vice-versa. In that scenario the ESF_Proxy_Admin<> interface is augmented with connected()/reconnected()/disconnected() operations for the proxy peers (i.e. the ProxySuppliers for the ProxyConsumers and vice-versa).
In addition to the requirements imposed by ESF_Proxy_Admin<> the PROXY interface must implement:
* void connected (PEER *peer ACE_ENV_ARG_DECL_NOT_USED) throw (); * void reconnected (PEER *peer ACE_ENV_ARG_DECL_NOT_USED) throw (); * void disconnected (PEER *peer ACE_ENV_ARG_DECL_NOT_USED) throw (); *
Similarly, the PEER interface must implement:
* void connected (PROXY *proxy ACE_ENV_ARG_DECL_NOT_USED) throw (); * void reconnected (PROXY *proxy ACE_ENV_ARG_DECL_NOT_USED) throw (); * void disconnected (PROXY *proxy ACE_ENV_ARG_DECL_NOT_USED) throw (); *
|
||||||||||
|
Constructor.
|
|
||||||||||
|
destructor.
|
|
||||||||||
|
A <peer> has connected, this is invoked when the peer's client has invoked the connect_xxx_yyy() method. The default implementation is a no-op. |
|
||||||||||
|
A <peer> has been disconnected. The default implementation removes the object from the collection and deactivates the proxy. |
|
||||||||||
|
A <peer> has reconnected, i.e. its client has invoked the connect_xxx_yyy() method, but the peer was connected already. The default implementation delegates on the collection <reconnected> method |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001