#include CosEventComm.idl
module BaseEvent{
...
interface Snk:CosEventComm::PushConsumer{
void notify(
in EventHeader e,
in any data)
raises (NotConnected);
void disconnec_snk();
};
interface Src { ... };
};
Also as mentioned earlier on in this paper, the pull model can
easily be supported in COBEA by simply incorporating the pull
interfaces of the CORBA Event Service. For example:
#include CosEventComm.idl
module BaseEvent{
...
interface COBEAPullSupplier:
CosEventComm::PullSupplier{};
...
};
Figure 6: Composite event servers involved in handling a
composite event