Public Member Functions | |
String | getChannelName () |
void | connect () |
void | disconnect () |
void | push_structured_event (StructuredEvent event) |
void | attach (String eventTypeName, Object receiver) |
void | detach (String eventTypeName, Object receiver) |
void | begin () |
void | end () |
Package Functions | |
CorbaReceiver (String channelName, ContainerServicesBase cs) throws AcsJException | |
StructuredProxyPushSupplier | getProxySupplier () |
String[] | getEventType () |
Private Attributes | |
ArrayList | receivers |
boolean | isBegin |
|
Create a CORBA receiver object. The CORBA receiver object is only created. Nothing actually happens until the "connect" method is executed. One must use the static method "getCorbaReceiver" in the CorbaNotificationChannel class to create such an object.
|
|
Attach an event receiver object to this notification channel. The receiver is required to have a public method called "receive(EventType)", that receives and processes the event. The EventType parameter in the method signature is the name of an IDL structure that defines the event.
TODO change here as above Implements alma::acs::nc::Receiver.
|
|
The begin() method must be called to initiate the process of receiving events. At this point the objects that have been attached begin receiving events. This method must be called or no events will be recieved. Implements alma::acs::nc::Receiver.
|
|
Connect this CORBA receiver to its CORBA channel to begin receiving events. |
|
Detach an eventType/Receiver from this notification channel. Only the specified event type is detached for the specified receiver.
Implements alma::acs::nc::Receiver.
|
|
Disconnect this CORBA receiver from its CORBA channel. No events are received after this method is executed. Reimplemented from alma::acs::nc::Consumer.
|
|
Stop all events from being processed by the attached Receiver objects. All objects that have been recieving events are removed and no further events are received. Implements alma::acs::nc::Receiver.
|
|
Returns the channel name.
|
|
|
|
|
|
This is the required CORBA method used to actually process the events requested by this receiver. It is automatically called by the notification service.
Reimplemented from alma::acs::nc::Consumer.
|
|
Designates whether a begin() method has been called or not. |
|
The list of receiver objects that process received events. The items on this list are all of type EventReceiver. |