|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use DispatchManager | |
| org.xmlBlaster.client | This is the Java client side package. |
| org.xmlBlaster.client.dispatch | |
| org.xmlBlaster.util | Java helper classes for server and client programming. |
| org.xmlBlaster.util.dispatch | |
| org.xmlBlaster.util.dispatch.plugins | |
| org.xmlBlaster.util.dispatch.plugins.prio | |
| org.xmlBlaster.util.error | |
| Uses of DispatchManager in org.xmlBlaster.client |
| Methods in org.xmlBlaster.client with parameters of type DispatchManager | |
void |
XmlBlasterAccess.toAlive(DispatchManager dispatchManager,
ConnectionStateEnum oldState)
Call by DispatchManager on connection state transition. |
void |
XmlBlasterAccess.toPolling(DispatchManager dispatchManager,
ConnectionStateEnum oldState)
Call by DispatchManager on connection state transition. |
void |
XmlBlasterAccess.toDead(DispatchManager dispatchManager,
ConnectionStateEnum oldState,
java.lang.String errorText)
Call by DispatchManager on connection state transition. |
| Uses of DispatchManager in org.xmlBlaster.client.dispatch |
| Constructors in org.xmlBlaster.client.dispatch with parameters of type DispatchManager | |
ClientDispatchConnectionsHandler(Global glob,
DispatchManager dispatchManager)
|
|
| Uses of DispatchManager in org.xmlBlaster.util |
| Methods in org.xmlBlaster.util with parameters of type DispatchManager | |
DispatchConnectionsHandler |
Global.createDispatchConnectionsHandler(DispatchManager dispatchManager)
Returns the client access layer implementations 'ClientDispatchConnectionsHandler' |
| Uses of DispatchManager in org.xmlBlaster.util.dispatch |
| Fields in org.xmlBlaster.util.dispatch declared as DispatchManager | |
protected DispatchManager |
DispatchConnectionsHandler.dispatchManager
|
| Methods in org.xmlBlaster.util.dispatch that return DispatchManager | |
DispatchManager |
DispatchConnectionsHandler.getDispatchManager()
|
| Methods in org.xmlBlaster.util.dispatch with parameters of type DispatchManager | |
void |
I_ConnectionStatusListener.toAlive(DispatchManager dispatchManager,
ConnectionStateEnum oldState)
|
void |
I_ConnectionStatusListener.toPolling(DispatchManager dispatchManager,
ConnectionStateEnum oldState)
|
void |
I_ConnectionStatusListener.toDead(DispatchManager dispatchManager,
ConnectionStateEnum oldState,
java.lang.String errorText)
|
| Constructors in org.xmlBlaster.util.dispatch with parameters of type DispatchManager | |
DispatchConnectionsHandler(Global glob,
DispatchManager dispatchManager)
You need to call initialize() after construction. |
|
DispatchWorker(Global glob,
DispatchManager mgr)
|
|
| Uses of DispatchManager in org.xmlBlaster.util.dispatch.plugins |
| Methods in org.xmlBlaster.util.dispatch.plugins with parameters of type DispatchManager | |
void |
I_MsgDispatchInterceptor.addDispatchManager(DispatchManager dispatchManager)
This is called once for each dispatch manager using this plugin. |
boolean |
I_MsgDispatchInterceptor.doActivate(DispatchManager dispatchManager)
If there are new messages available in the queue, you get invoked here and are asked if you want to start a worker thread (from the thread pool) to start taking messages from the queue and send them over the remote connection. |
java.util.ArrayList |
I_MsgDispatchInterceptor.handleNextMessages(DispatchManager dispatchManager,
java.util.ArrayList pushEntries)
If you returned true from doActivate() the worker thread will ask us to retrieve the next messages from the queue (dispatchManager.getQueue()). |
void |
I_MsgDispatchInterceptor.postHandleNextMessages(DispatchManager dispatchManager,
MsgUnit[] processedEntries)
Method invoked after having successfully sent the entries in asynchronous modus. |
void |
I_MsgDispatchInterceptor.shutdown(DispatchManager dispatchManager)
Deregister the given dispatchManager |
void |
I_MsgDispatchInterceptor.onDispatchWorkerException(DispatchManager dispatchManager,
java.lang.Throwable ex)
Invoked when the dispatching failed due to an exception. |
| Uses of DispatchManager in org.xmlBlaster.util.dispatch.plugins.prio |
| Methods in org.xmlBlaster.util.dispatch.plugins.prio that return DispatchManager | |
DispatchManager |
DispatchManagerEntry.getDispatchManager()
|
| Methods in org.xmlBlaster.util.dispatch.plugins.prio with parameters of type DispatchManager | |
void |
PriorizedDispatchPlugin.addDispatchManager(DispatchManager dispatchManager)
This is called once for each dispatch manager using this plugin. |
boolean |
PriorizedDispatchPlugin.doActivate(DispatchManager dispatchManager)
Called when new messages are available. |
java.util.ArrayList |
PriorizedDispatchPlugin.handleNextMessages(DispatchManager dispatchManager,
java.util.ArrayList entries)
Enforced by I_MsgDispatchInterceptor. |
void |
PriorizedDispatchPlugin.toAlive(DispatchManager dispatchManager,
ConnectionStateEnum oldState)
Call by DispatchConnectionsHandler on state transition. |
void |
PriorizedDispatchPlugin.toPolling(DispatchManager dispatchManager,
ConnectionStateEnum oldState)
Call by DispatchConnectionsHandler on state transition Enforced by interface I_ConnectionStatusListener |
void |
PriorizedDispatchPlugin.toDead(DispatchManager dispatchManager,
ConnectionStateEnum oldState,
java.lang.String errorText)
Call by DispatchConnectionsHandler on state transition Enforced by interface I_ConnectionStatusListener |
void |
PriorizedDispatchPlugin.shutdown(DispatchManager dispatchManager)
Deregister a dispatch manager. |
void |
PriorizedDispatchPlugin.postHandleNextMessages(DispatchManager dispatchManager,
MsgUnit[] processedEntries)
Not doing anything in this method since no cleanup needed. |
void |
PriorizedDispatchPlugin.onDispatchWorkerException(DispatchManager dispatchManager,
java.lang.Throwable ex)
Not doing anything in this method since no Exception handling is done. |
| Constructors in org.xmlBlaster.util.dispatch.plugins.prio with parameters of type DispatchManager | |
DispatchManagerEntry(DispatchManager dispatchManager)
|
|
| Uses of DispatchManager in org.xmlBlaster.util.error |
| Methods in org.xmlBlaster.util.error that return DispatchManager | |
DispatchManager |
MsgErrorInfo.getDispatchManager()
|
DispatchManager |
I_MsgErrorInfo.getDispatchManager()
Access the DispatchManager which holds the queue. |
| Constructors in org.xmlBlaster.util.error with parameters of type DispatchManager | |
MsgErrorInfo(Global glob,
MsgQueueEntry msgQueueEntry,
DispatchManager dispatchManager,
java.lang.Throwable throwable)
Creates an error info instance with errorCode="internal.unknown" |
|
MsgErrorInfo(Global glob,
MsgQueueEntry[] msgQueueEntries,
DispatchManager dispatchManager,
java.lang.Throwable throwable)
Creates an error info instance for an array of message queue entries |
|
|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||