com.neeve.aep
Class AepBusManager

java.lang.Object
  extended by com.neeve.util.UtlListElement
      extended by com.neeve.aep.AepBusManager
All Implemented Interfaces:
com.neeve.event.IEventHandler

public final class AepBusManager
extends com.neeve.util.UtlListElement
implements com.neeve.event.IEventHandler

The AEP bus manager.

The AEP bus binding manager class. An instance of this class is created for each bus configured for an AEP application. This class is responsible for
- Opening the bus. It is also responsible for including retrying the open in case of open failure and scheduling reopens when bindings fail. - Dispatching events to the application indicating when channels change state from offline to online and vice versa - Handling and routing of events from the binding to the application.

Threading:
A bus handler is not safe for concurrent access by multiple threads.

Nested Class Summary
static class AepBusManager.State
          Enumerates the different states the bus handler can be in
 
Field Summary
 
Fields inherited from class com.neeve.util.UtlListElement
count, head, next, prev
 
Method Summary
 MessageBusDescriptor getBusDescriptor()
          Get the descriptor of the message bus binding managed by an AEP bus manager.
 com.neeve.aep.AepBusManagerStats getStats()
          Get an AEP bus manager's statistics object.
 void onEvent(com.neeve.event.Event event)
          Implementation of IEventHandler.onEvent(com.neeve.event.Event)
 String toString()
          Get a string representation of this object
 
Methods inherited from class com.neeve.util.UtlListElement
count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipe
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getBusDescriptor

public final MessageBusDescriptor getBusDescriptor()
Get the descriptor of the message bus binding managed by an AEP bus manager.


getStats

public final com.neeve.aep.AepBusManagerStats getStats()
Get an AEP bus manager's statistics object.


onEvent

public final void onEvent(com.neeve.event.Event event)
Implementation of IEventHandler.onEvent(com.neeve.event.Event)

Specified by:
onEvent in interface com.neeve.event.IEventHandler

toString

public final String toString()
Get a string representation of this object

Overrides:
toString in class Object


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.