Uses of Interface
com.streambase.liveview.client.LiveViewConnectionControl
Package
Description
Provides classes and interfaces fundamental to the LiveView Java API.
-
Uses of LiveViewConnectionControl in com.streambase.liveview.client
Modifier and TypeMethodDescriptionLiveViewMultiConnection.getCurrentConnection()
LiveViewConnectionControl of the "current" connection, if there is one.Modifier and TypeMethodDescriptionList<? extends LiveViewConnectionControl>
LiveViewMultiConnection.getConnectionControls()
This list will have a one-for-one correspondence with the list of ConnectionConfigs or the list of URIs that were used to create this LiveViewMultiConnection.Modifier and TypeMethodDescriptionvoid
MultiConnectionListener.connectionEstablished
(LiveViewConnectionControl connection, boolean isCurrent) This will be called whenever any connection succeeds, including the very first one.void
MultiConnectionListener.MultiConnectionListenerBase.connectionEstablished
(LiveViewConnectionControl connection, boolean isCurrent) void
MultiConnectionListener.MultiConnectionListenerBase.reconnectFailed
(LiveViewConnectionControl failedConnection, int failureCount) void
MultiConnectionListener.reconnectFailed
(LiveViewConnectionControl failedConnection, int failureCount) This will be called when any attempt to make a connection fails.void
MultiConnectionListener.MultiConnectionListenerBase.roughFailover
(LiveViewConnectionControl failedConnection) void
MultiConnectionListener.roughFailover
(LiveViewConnectionControl failedConnection) This will be called if the current server has failed and there is no other server currently connected to fail over to.void
MultiConnectionListener.MultiConnectionListenerBase.secondaryConnectionLost
(LiveViewConnectionControl lostConnection) void
MultiConnectionListener.secondaryConnectionLost
(LiveViewConnectionControl lostConnection) This will be called when one of the secondary connections has been lost.void
MultiConnectionListener.MultiConnectionListenerBase.smoothFailover
(LiveViewConnectionControl failedConnection, LiveViewConnectionControl connection) void
MultiConnectionListener.smoothFailover
(LiveViewConnectionControl failedConnection, LiveViewConnectionControl connection) This will be called if the current server has failed, but there is already another server ready to fail over to.