Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.protocol
Class ChannelErrorEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.genesyslab.platform.commons.protocol.ChannelErrorEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ChannelClosedEvent

public class ChannelErrorEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable cause
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChannelErrorEvent(Channel source)
          Constructs an Event.
ChannelErrorEvent(Channel source, java.lang.Throwable cause)
          Constructs an event about closed channel.
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

protected java.lang.Throwable cause
Constructor Detail

ChannelErrorEvent

public ChannelErrorEvent(Channel source)
Constructs an Event.

Parameters:
source - The object on which the Event initially occurred.

ChannelErrorEvent

public ChannelErrorEvent(Channel source,
                         java.lang.Throwable cause)
Constructs an event about closed channel. The source of the event is channel itself.

Parameters:
source - The object on which the Event initially occurred.
cause - The cause of emergency disconnection.
Method Detail

getCause

public java.lang.Throwable getCause()

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

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.