xmlBlaster 2.2.0 API

Uses of Class
org.xmlBlaster.util.dispatch.ConnectionStateEnum

Packages that use ConnectionStateEnum
org.xmlBlaster.authentication   
org.xmlBlaster.client This is the Java client side package. 
org.xmlBlaster.client.dispatch   
org.xmlBlaster.client.qos   
org.xmlBlaster.contrib.dbwatcher.mom   
org.xmlBlaster.contrib.mime   
org.xmlBlaster.contrib.replication.impl   
org.xmlBlaster.engine The core implementation. 
org.xmlBlaster.engine.cluster   
org.xmlBlaster.engine.dispatch   
org.xmlBlaster.engine.distributor.plugins   
org.xmlBlaster.protocol   
org.xmlBlaster.test.client   
org.xmlBlaster.test.topic   
org.xmlBlaster.util.dispatch   
org.xmlBlaster.util.dispatch.plugins.prio   
org.xmlBlaster.util.qos   
 

Uses of ConnectionStateEnum in org.xmlBlaster.authentication
 

Methods in org.xmlBlaster.authentication with parameters of type ConnectionStateEnum
 void AuthenticateProtector.connectionState(java.lang.String secretSessionId, ConnectionStateEnum state)
           
 void Authenticate.connectionState(java.lang.String secretSessionId, ConnectionStateEnum state)
          Helper method where protocol layers may report a lost connection (e.g.
 

Uses of ConnectionStateEnum in org.xmlBlaster.client
 

Methods in org.xmlBlaster.client that return ConnectionStateEnum
 ConnectionStateEnum XmlBlasterAccess.getState()
          Enforced by interface I_ConnectionHandler
 ConnectionStateEnum I_ConnectionHandler.getState()
          Get the connection state, usable for nice logging like this:
con.getState().toString()
 

Methods in org.xmlBlaster.client with parameters of type ConnectionStateEnum
 void StreamingCallback.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void I_ConnectionStateListener.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from XmlBlasterAccess notifying the client that a connection has been established and that its status is now ALIVE.
 void StreamingCallback.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void I_ConnectionStateListener.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          Invoked when the dispatcher goes to synch again after having delivered entries which where in the queue when the state changed to ALIVE.
 void StreamingCallback.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void I_ConnectionStateListener.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from XmlBlasterAccess informing the client that the connection was lost (i.e.
 void StreamingCallback.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void I_ConnectionStateListener.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from XmlBlasterAccess informing the client that the connection state has changed to POLLING.
 void XmlBlasterAccess.toAlive(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
          Call by DispatchManager on connection state transition.
 void XmlBlasterAccess.toAliveSync(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void XmlBlasterAccess.toDead(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, XmlBlasterException xmlBlasterException)
          Call by DispatchManager on connection state transition.
 void XmlBlasterAccess.toPolling(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
          Call by DispatchManager on connection state transition.
 

Uses of ConnectionStateEnum in org.xmlBlaster.client.dispatch
 

Methods in org.xmlBlaster.client.dispatch with parameters of type ConnectionStateEnum
 void ClientDispatchManager.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void ClientDispatchManager.shutdownFomAnyState(ConnectionStateEnum oldState, XmlBlasterException ex)
          Call by DispatchConnectionsHandler on state transition
 void ClientDispatchManager.toAlive(ConnectionStateEnum oldState)
          Call by DispatchConnectionsHandler on state transition NOTE: toAlive is called initially when a protocol plugin is successfully loaded but we don't know yet if it ever is able to connect
 void ClientDispatchManager.toPolling(ConnectionStateEnum oldState)
          Call by DispatchConnectionsHandler on state transition
 

Uses of ConnectionStateEnum in org.xmlBlaster.client.qos
 

Methods in org.xmlBlaster.client.qos that return ConnectionStateEnum
 ConnectionStateEnum ConnectReturnQos.getInitialConnectionState()
          Returns the connection state directly after the connect() method returns.
 

Uses of ConnectionStateEnum in org.xmlBlaster.contrib.dbwatcher.mom
 

Methods in org.xmlBlaster.contrib.dbwatcher.mom with parameters of type ConnectionStateEnum
 void XmlBlasterPublisher.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void XmlBlasterPublisher.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void XmlBlasterPublisher.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void XmlBlasterPublisher.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.contrib.mime
 

Methods in org.xmlBlaster.contrib.mime with parameters of type ConnectionStateEnum
 void DropIfNotDeliverable.toAlive(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void DropIfNotDeliverableUniqueOnly.toAlive(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void DropIfNotDeliverable.toAliveSync(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void DropIfNotDeliverableUniqueOnly.toAliveSync(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void DropIfNotDeliverable.toDead(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, XmlBlasterException xmlBlasterException)
           
 void DropIfNotDeliverableUniqueOnly.toDead(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, XmlBlasterException xmlBlasterException)
           
 void DropIfNotDeliverable.toPolling(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void DropIfNotDeliverableUniqueOnly.toPolling(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.contrib.replication.impl
 

Methods in org.xmlBlaster.contrib.replication.impl with parameters of type ConnectionStateEnum
 void InitialUpdater.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          Sends a new registration message
 void InitialUpdater.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void InitialUpdater.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void InitialUpdater.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void ReplManagerPlugin.toAlive(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void ReplManagerPlugin.toAliveSync(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void ReplManagerPlugin.toDead(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, XmlBlasterException xmlBlasterException)
           
 void ReplManagerPlugin.toPolling(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.engine
 

Methods in org.xmlBlaster.engine with parameters of type ConnectionStateEnum
protected  void EventPlugin.callbackStateChange(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, ConnectionStateEnum newState)
           
protected  void EventPlugin.connectionStateChange(I_XmlBlasterAccess connection, ConnectionStateEnum oldState, ConnectionStateEnum newState)
           
 void EventPlugin.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess for cluster client connections "client/heron/session/1/event/connectionState"

This method is enforced through interface I_ConnectionStateListener

 void EventPlugin.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void EventPlugin.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was lost.
 void EventPlugin.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was lost.
 void EventPlugin.toAlive(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void EventPlugin.toAliveSync(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void EventPlugin.toDead(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, XmlBlasterException xmlBlasterException)
           
 void EventPlugin.toPolling(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.engine.cluster
 

Methods in org.xmlBlaster.engine.cluster with parameters of type ConnectionStateEnum
 void ClusterNode.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was established.
 void ClusterNode.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void ClusterNode.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was lost.
 void ClusterNode.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was lost.
 

Uses of ConnectionStateEnum in org.xmlBlaster.engine.dispatch
 

Methods in org.xmlBlaster.engine.dispatch with parameters of type ConnectionStateEnum
 void ServerDispatchManager.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void ServerDispatchManager.shutdownFomAnyState(ConnectionStateEnum oldState, XmlBlasterException ex)
          Call by DispatchConnectionsHandler on state transition
 void ServerDispatchManager.toAlive(ConnectionStateEnum oldState)
          Call by DispatchConnectionsHandler on state transition NOTE: toAlive is called initially when a protocol plugin is successfully loaded but we don't know yet if it ever is able to connect
 void ServerDispatchManager.toPolling(ConnectionStateEnum oldState)
          Call by DispatchConnectionsHandler on state transition
 

Uses of ConnectionStateEnum in org.xmlBlaster.engine.distributor.plugins
 

Methods in org.xmlBlaster.engine.distributor.plugins with parameters of type ConnectionStateEnum
 void ConsumableQueuePlugin.toAlive(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
          Event arriving from one DispatchManager telling this plugin it can start distribute again.
 void ConsumableQueuePlugin.toAliveSync(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void ConsumableQueuePlugin.toDead(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, XmlBlasterException xmlBlasterException)
           
 void ConsumableQueuePlugin.toPolling(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.protocol
 

Methods in org.xmlBlaster.protocol with parameters of type ConnectionStateEnum
 void I_Authenticate.connectionState(java.lang.String secretSessionId, ConnectionStateEnum state)
          A protocol may inform the client is lost (currently only the SOCKET protocol plugin supports it)
 

Uses of ConnectionStateEnum in org.xmlBlaster.test.client
 

Methods in org.xmlBlaster.test.client with parameters of type ConnectionStateEnum
 void TestTailback.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was established.
 void TestFailSafeAsync.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafePing.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was established.
 void TestPersistentSession.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was established.
 void TestXmlBlasterAccessMultiThreaded.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was established.
 void TestFailSafe.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestTailback.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafeAsync.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafePing.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestPersistentSession.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestXmlBlasterAccessMultiThreaded.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafe.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was established.
 void TestTailback.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafeAsync.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafePing.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestPersistentSession.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestXmlBlasterAccessMultiThreaded.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafe.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestTailback.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafeAsync.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafePing.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestPersistentSession.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestXmlBlasterAccessMultiThreaded.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestFailSafe.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.test.topic
 

Methods in org.xmlBlaster.test.topic with parameters of type ConnectionStateEnum
 void TestReferenceCount.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was established.
 void TestReferenceCountSwap.reachedAlive(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
          This is the callback method invoked from I_XmlBlasterAccess informing the client in an asynchronous mode if the connection was established.
 void TestReferenceCount.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestReferenceCountSwap.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestReferenceCount.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestReferenceCountSwap.reachedDead(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestReferenceCount.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void TestReferenceCountSwap.reachedPolling(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.util.dispatch
 

Fields in org.xmlBlaster.util.dispatch declared as ConnectionStateEnum
static ConnectionStateEnum ConnectionStateEnum.ALIVE
          We have a connection (0).
private static ConnectionStateEnum[] ConnectionStateEnum.connectionStateEnumArr
          For good performance have a static array of all priorities
static ConnectionStateEnum ConnectionStateEnum.DEAD
          The connection is dead an no recovery is possible (2).
static ConnectionStateEnum ConnectionStateEnum.POLLING
          We have lost the connection and are polling for it (1).
private  ConnectionStateEnum DispatchConnectionsHandler.state
           
protected  ConnectionStateEnum DispatchConnection.state
           
static ConnectionStateEnum ConnectionStateEnum.UNDEF
          The connection state is not known (-1).
 

Methods in org.xmlBlaster.util.dispatch that return ConnectionStateEnum
 ConnectionStateEnum DispatchConnectionsHandler.getState()
           
 ConnectionStateEnum DispatchConnection.getState()
           
static ConnectionStateEnum ConnectionStateEnum.parseConnectionState(java.lang.String state)
          Parses given string to extract the connectionState of a message.
static ConnectionStateEnum ConnectionStateEnum.parseConnectionState(java.lang.String connectionState, ConnectionStateEnum defaultConnectionState)
          Parses given string to extract the connectionState of a message
static ConnectionStateEnum ConnectionStateEnum.toConnectionStateEnum(int connectionState)
          Checks the given int and returns the corresponding ConnectionStateEnum instance.
 

Methods in org.xmlBlaster.util.dispatch with parameters of type ConnectionStateEnum
 boolean ConnectionStateEnum.equals(ConnectionStateEnum other)
           
static ConnectionStateEnum ConnectionStateEnum.parseConnectionState(java.lang.String connectionState, ConnectionStateEnum defaultConnectionState)
          Parses given string to extract the connectionState of a message
 void I_DispatchManager.reachedAliveSync(ConnectionStateEnum oldState, I_XmlBlasterAccess connection)
           
 void I_DispatchManager.shutdownFomAnyState(ConnectionStateEnum oldState, XmlBlasterException ex)
          Call by DispatchConnectionsHandler on state transition
 void I_DispatchManager.toAlive(ConnectionStateEnum oldState)
          Call by DispatchConnectionsHandler on state transition NOTE: toAlive is called initially when a protocol plugin is successfully loaded but we don't know yet if it ever is able to connect
 void I_ConnectionStatusListener.toAlive(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void I_ConnectionStatusListener.toAliveSync(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void I_ConnectionStatusListener.toDead(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, XmlBlasterException xmlBlasterException)
           
 void I_DispatchManager.toPolling(ConnectionStateEnum oldState)
          Call by DispatchConnectionsHandler on state transition
 void I_ConnectionStatusListener.toPolling(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.util.dispatch.plugins.prio
 

Fields in org.xmlBlaster.util.dispatch.plugins.prio declared as ConnectionStateEnum
private  ConnectionStateEnum StatusConfiguration.connectionState
           
private  ConnectionStateEnum DispatchManagerEntry.currConnectionState
           
 

Methods in org.xmlBlaster.util.dispatch.plugins.prio that return ConnectionStateEnum
 ConnectionStateEnum StatusConfiguration.getConnectionState()
           
 ConnectionStateEnum DispatchManagerEntry.getCurrConnectionState()
          The current state of the dispatcher connection
 

Methods in org.xmlBlaster.util.dispatch.plugins.prio with parameters of type ConnectionStateEnum
private  DispatchManagerEntry PriorizedDispatchPlugin.changeManagerState(I_DispatchManager dispatchManager, ConnectionStateEnum newState, boolean flush)
           
private  void StatusConfiguration.check(ConnectionStateEnum connectionState, DispatchAction action)
           
 StatusConfiguration ConfigurationParser.getStatusConfiguration(ConnectionStateEnum currConnectionState)
          Access the configuration for the given state of the dispatcher connection
 void StatusConfiguration.setConnectionState(ConnectionStateEnum connectionState)
           
 void DispatchManagerEntry.setCurrConnectionState(ConnectionStateEnum stateEnum)
           
 void PriorizedDispatchPlugin.toAlive(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
          Call by DispatchConnectionsHandler on state transition.
 void PriorizedDispatchPlugin.toAliveSync(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
           
 void PriorizedDispatchPlugin.toDead(I_DispatchManager dispatchManager, ConnectionStateEnum oldState, XmlBlasterException xmlBlasterException)
          Call by DispatchConnectionsHandler on state transition

Enforced by interface I_ConnectionStatusListener

 void PriorizedDispatchPlugin.toPolling(I_DispatchManager dispatchManager, ConnectionStateEnum oldState)
          Call by DispatchConnectionsHandler on state transition

Enforced by interface I_ConnectionStatusListener

 

Constructors in org.xmlBlaster.util.dispatch.plugins.prio with parameters of type ConnectionStateEnum
StatusConfiguration(Global glob, java.lang.String oid, java.lang.String content, ConnectionStateEnum connectionState, DispatchAction defaultAction)
           
 

Uses of ConnectionStateEnum in org.xmlBlaster.util.qos
 

Fields in org.xmlBlaster.util.qos declared as ConnectionStateEnum
private  ConnectionStateEnum ConnectQosData.initialConnectionState
           
 

Methods in org.xmlBlaster.util.qos that return ConnectionStateEnum
 ConnectionStateEnum ConnectQosData.getInitialConnectionState()
          Returns the connection state directly after the connect() method returns (client side only).
 

Methods in org.xmlBlaster.util.qos with parameters of type ConnectionStateEnum
 void ConnectQosData.setInitialConnectionState(ConnectionStateEnum initialConnectionState)
          Set the connection state directly after the connect() (client side only).
 


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.