Configuration Platform SDK 7.6 API Reference

com.genesyslab.platform.commons.protocol
Class ChannelErrorEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.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

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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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()

Configuration Platform SDK 7.6 API Reference

Send comments on this topic.
Copyright © 2006–2008 Genesys Telecommunication Laboratories, Inc. All rights reserved.