public class EventModel
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addChannelSubscription(ChannelData channelData)
Called from SubscribeNCHandler.
|
void |
closeAllConsumers() |
void |
closeArchiveConsumer()
TODO: Call from mouse menu handler for the archiving NC
|
void |
closeSelectedConsumer(ChannelData channelData) |
java.util.concurrent.BlockingQueue<ArchiveEventData> |
getArchQueue() |
boolean |
getChannelStatistics()
Called by NotifyServiceUpdateJob (single/periodic refresh of service summary / channel tree).
|
ContainerServices |
getContainerServices() |
org.omg.DynamicAny.DynAnyFactory |
getDynAnyFactory() |
java.util.concurrent.BlockingQueue<EventData> |
getEventQueue()
Gets the event queue, for read and write access.
|
static EventModel |
getInstance() |
java.util.logging.Logger |
getLogger() |
NotifyServices |
getNotifyServicesRoot() |
boolean |
isSubscribed(ChannelData channelData)
Note that this method may be called very frequently, to determine whether menu items are selected/enabled, thus it must be fast.
|
boolean |
reconnectNamingService() |
protected EventChannel |
resolveNotificationChannel(java.lang.String bindingName)
Resolves a notification channel in the naming service.
|
void |
tearDown() |
public static EventModel getInstance() throws java.lang.Throwable
java.lang.Throwablepublic java.util.logging.Logger getLogger()
public java.util.concurrent.BlockingQueue<EventData> getEventQueue()
public java.util.concurrent.BlockingQueue<ArchiveEventData> getArchQueue()
public boolean reconnectNamingService()
public NotifyServices getNotifyServicesRoot()
public boolean getChannelStatistics()
protected EventChannel resolveNotificationChannel(java.lang.String bindingName)
throws AcsJException
bindingName - Name of the event channel and trailing domain name, as the NC is registered with the CORBA Naming ServiceAcsJException - Standard ACS Java exception.public ContainerServices getContainerServices()
public void addChannelSubscription(ChannelData channelData) throws AcsJException
AcsJExceptionpublic org.omg.DynamicAny.DynAnyFactory getDynAnyFactory()
public void closeSelectedConsumer(ChannelData channelData)
public void closeAllConsumers()
public void closeArchiveConsumer()
public void tearDown()
public boolean isSubscribed(ChannelData channelData)