Public Member Functions | |
CorbaNotificationChannel (String inChannelName, ContainerServicesBase cs) throws AcsJException | |
CorbaNotificationChannel (SimpleSupplier inCorbaPublisher, ContainerServicesBase cs) throws AcsJException | |
Publisher | getPublisher () |
void | attach (String eventTypeName, Object receiver) |
void | detach (String eventTypeName, Object receiver) |
void | begin () |
void | end () |
void | publish (IDLEntity event) throws AcsJException |
void | deactivate () throws AcsJException |
Static Public Member Functions | |
Receiver | getCorbaReceiver (String channelName, ContainerServicesBase cs) |
Static Public Attributes | |
final String | ALMA_DOMAIN = "ALMA" |
Private Attributes | |
SimpleSupplier | corbaPublisher |
CorbaReceiver | corbaReceiver |
: Remove inheritance from AbstractNotificationChannel, see COMP-1786
|
Create a CORBA Notification Channel.
|
|
Create a CORBA Notification Channel and specify the CorbaPublisher being used.
|
|
Attach a Receiver, that receives one type of event, 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.
Implements alma::acs::nc::Receiver.
|
|
Connect this corbaReceiver to the notification channel. 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.
|
|
Deactivate this notification channel. The publisher gets disconnected and then the channel is destroyed.
Implements alma::acs::nc::AbstractNotificationChannel.
|
|
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 reciever from the notification channel. All objects that have been recieving events are removed and no further events are received. Implements alma::acs::nc::Receiver.
|
|
Get the Receiver interface to a currently created CORBA channel.
|
|
Get the Publisher interface to a currently created CORBA channel. Only the creator of the channel can provide a Publisher interface.
Implements alma::acs::nc::AbstractNotificationChannel.
|
|
Publish an event on this notification channel.
Implements alma::acs::nc::Publisher.
|
|
The ALMA domain name, which is not explicitly used and is hidden from the application. |
|
The CORBA publisher object that is used to create, access, and publish events on the CORBA channel. |
|
The CORBA receiver object that is used to attach and detach receivers of events. |