Platform SDK Java 8.5 API Reference

com.genesyslab.platform.standby.events
Class WSAllTriedUnsuccessfullyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.genesyslab.platform.standby.events.WSAllTriedUnsuccessfullyEvent
All Implemented Interfaces:
java.io.Serializable

public final class WSAllTriedUnsuccessfullyEvent
extends java.util.EventObject

WSAllTriedUnsuccessfullyEvent is used in warm standby handler.

See Also:
WSHandler.onAllEndpointsTriedUnsuccessfully(WSAllTriedUnsuccessfullyEvent), Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WSAllTriedUnsuccessfullyEvent(WarmStandby warmStandby, int retryNumber)
          Creates a WSAllTriedUnsuccessfullyEvent instance.
 
Method Summary
 int getRetryNumber()
          Returns how many times all endpoints have been tried unsuccessfully.
 WarmStandby getWarmStandby()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WSAllTriedUnsuccessfullyEvent

public WSAllTriedUnsuccessfullyEvent(WarmStandby warmStandby,
                                     int retryNumber)
Creates a WSAllTriedUnsuccessfullyEvent instance.

Parameters:
warmStandby - warm standby.
retryNumber - indicates how many times all endpoints has been tried unsuccessfully.
Method Detail

getRetryNumber

public int getRetryNumber()
Returns how many times all endpoints have been tried unsuccessfully. Every time when the channel is opened retry number is reset to zero.

Returns:
retry number.

getWarmStandby

public WarmStandby getWarmStandby()

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.