|
xmlBlaster 2.2.0 client API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConnectionStateEnum | |
---|---|
org.xmlBlaster.client | This is the Java client side package. |
org.xmlBlaster.client.dispatch | |
org.xmlBlaster.client.qos | |
org.xmlBlaster.util.dispatch | |
org.xmlBlaster.util.dispatch.plugins.prio | |
org.xmlBlaster.util.qos |
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.util.dispatch |
---|
Fields in org.xmlBlaster.util.dispatch declared as ConnectionStateEnum | |
---|---|
static ConnectionStateEnum |
ConnectionStateEnum.ALIVE
We have a connection (0). |
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). |
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 |
---|
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 | |
---|---|
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 |
---|
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 client API | |||||||||
PREV NEXT | FRAMES NO FRAMES |