Uses of Interface
com.streambase.liveview.client.LiveViewConnectionControl
Packages that use LiveViewConnectionControl
Package
Description
Provides classes and interfaces fundamental to the LiveView Java API.
-
Uses of LiveViewConnectionControl in com.streambase.liveview.client
Methods in com.streambase.liveview.client that return LiveViewConnectionControlModifier and TypeMethodDescriptionLiveViewMultiConnection.getCurrentConnection()LiveViewConnectionControl of the "current" connection, if there is one.Methods in com.streambase.liveview.client that return types with arguments of type LiveViewConnectionControlModifier 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.Methods in com.streambase.liveview.client with parameters of type LiveViewConnectionControlModifier and TypeMethodDescriptionvoidMultiConnectionListener.connectionEstablished(LiveViewConnectionControl connection, boolean isCurrent) This will be called whenever any connection succeeds, including the very first one.voidMultiConnectionListener.MultiConnectionListenerBase.connectionEstablished(LiveViewConnectionControl connection, boolean isCurrent) voidMultiConnectionListener.MultiConnectionListenerBase.reconnectFailed(LiveViewConnectionControl failedConnection, int failureCount) voidMultiConnectionListener.reconnectFailed(LiveViewConnectionControl failedConnection, int failureCount) This will be called when any attempt to make a connection fails.voidMultiConnectionListener.MultiConnectionListenerBase.roughFailover(LiveViewConnectionControl failedConnection) voidMultiConnectionListener.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.voidMultiConnectionListener.MultiConnectionListenerBase.secondaryConnectionLost(LiveViewConnectionControl lostConnection) voidMultiConnectionListener.secondaryConnectionLost(LiveViewConnectionControl lostConnection) This will be called when one of the secondary connections has been lost.voidMultiConnectionListener.MultiConnectionListenerBase.smoothFailover(LiveViewConnectionControl failedConnection, LiveViewConnectionControl connection) voidMultiConnectionListener.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.