Platform SDK Java 8.5 API Reference

com.genesyslab.platform.standby.events
Class WSTriedUnsuccessfullyEvent

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

public final class WSTriedUnsuccessfullyEvent
extends java.util.EventObject

WSTriedUnsuccessfullyEvent is used in warm standby handler.

See Also:
WSHandler.onEndpointTriedUnsuccessfully(WSTriedUnsuccessfullyEvent), Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WSTriedUnsuccessfullyEvent(WarmStandby warmStandby, ChannelClosedEvent event)
          Creates a WSTriedUnsuccessfullyEvent instance.
 
Method Summary
 java.lang.Throwable getCause()
          Gets cause of the event.
 ChannelClosedEvent getChannelClosedEvent()
          Gets the channel closed event.
 Endpoint getEndpoint()
          Gets endpoint related to the event.
 WarmStandby getWarmStandby()
           
 boolean isRestoringStopped()
          Checks if channel connection restoring will be stopped.
 void resume()
          Specify that the same endpoint should be retried again (ASAP) if warm standby open operation won't be canceled.
 
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

WSTriedUnsuccessfullyEvent

public WSTriedUnsuccessfullyEvent(WarmStandby warmStandby,
                                  ChannelClosedEvent event)
Creates a WSTriedUnsuccessfullyEvent instance.

Parameters:
warmStandby - warm standby.
event - provides event specific information.
Method Detail

isRestoringStopped

public boolean isRestoringStopped()
Checks if channel connection restoring will be stopped.

Returns:
true if channel connection restoring will be stopped.
See Also:
#resume}

resume

public void resume()
Specify that the same endpoint should be retried again (ASAP) if warm standby open operation won't be canceled.


getChannelClosedEvent

public ChannelClosedEvent getChannelClosedEvent()
Gets the channel closed event.

Returns:
the channel closed event.

getCause

public java.lang.Throwable getCause()
Gets cause of the event.

Returns:
cause of the event.

getEndpoint

public Endpoint getEndpoint()
Gets endpoint related to the event.

Returns:
endpoint related to the event.

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.