xmlBlaster 1.6.2 client API

org.xmlBlaster.util.dispatch.plugins.prio
Class DispatchManagerEntry

java.lang.Object
  extended byorg.xmlBlaster.util.dispatch.plugins.prio.DispatchManagerEntry

public final class DispatchManagerEntry
extends java.lang.Object

Holds a dispatchManager and a plugin holdback queue.

The plugin is used for many DispatchManager instances. If the plugin needs to hold back a message it is put into the holdback queue. When the connection is fine again, the holdback queue is flushed to the real queue of the DispatchManager.

Author:
xmlBlaster@marcelruff.info
See Also:
the dispatch.control.plugin requirement

Constructor Summary
DispatchManagerEntry(DispatchManager dispatchManager)
           
 
Method Summary
 ConnectionStateEnum getCurrConnectionState()
          The current state of the dispatcher connection
 StatusConfiguration getCurrConnectionStateConfiguration()
          This is the configuration for the current connection state of the dispatcher framework or null:
 DispatchManager getDispatchManager()
           
 I_Queue getHoldbackQueue()
           
 void setCurrConnectionState(ConnectionStateEnum stateEnum)
           
 void setCurrConnectionStateConfiguration(StatusConfiguration conf)
           
 void setHoldbackQueue(I_Queue holdbackQueue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DispatchManagerEntry

public DispatchManagerEntry(DispatchManager dispatchManager)
Method Detail

getDispatchManager

public DispatchManager getDispatchManager()

setCurrConnectionStateConfiguration

public void setCurrConnectionStateConfiguration(StatusConfiguration conf)

getCurrConnectionStateConfiguration

public StatusConfiguration getCurrConnectionStateConfiguration()
This is the configuration for the current connection state of the dispatcher framework or null:


getCurrConnectionState

public ConnectionStateEnum getCurrConnectionState()
The current state of the dispatcher connection


setCurrConnectionState

public void setCurrConnectionState(ConnectionStateEnum stateEnum)

getHoldbackQueue

public I_Queue getHoldbackQueue()
Returns:
null if no queue was allocated yet (lazy instantiation)

setHoldbackQueue

public void setHoldbackQueue(I_Queue holdbackQueue)

xmlBlaster 1.6.2 client API

Copyright © 1999-2007 The xmlBlaster.org contributers.