public class ConnectionClosedEvent
extends java.util.EventObject
Constructor | Description |
---|---|
ConnectionClosedEvent(ConnectionClosedEvent event,
java.lang.Throwable cause) |
Constructs same event as passed but with different cause.
|
ConnectionClosedEvent(java.lang.Object source,
java.lang.Throwable cause) |
Constructs an event about closed connection.
|
ConnectionClosedEvent(java.lang.Object source,
java.lang.Throwable cause,
Connection con) |
Constructs an event about closed connection.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
|
long |
getUnsentBytes() |
Gets amount of unsent bytes.
|
boolean |
hasUnsentBytes() |
Checks if some unsent bytes have been ramained.
|
java.lang.String |
toString() |
public ConnectionClosedEvent(java.lang.Object source, java.lang.Throwable cause)
source
- The object on which the Event initially occurred.public ConnectionClosedEvent(ConnectionClosedEvent event, java.lang.Throwable cause)
event
- The master event on which the Event initially occurred.unsentBytes
- indicate that some bytes (messages-,addp-) weren't sent.public ConnectionClosedEvent(java.lang.Object source, java.lang.Throwable cause, Connection con)
source
- The object on which the Event initially occurred.unsentBytes
- indicate that some bytes (messages-,addp-) weren't sent.public java.lang.Throwable getCause()
public boolean hasUnsentBytes()
public long getUnsentBytes()
public java.lang.String toString()
toString
in class java.util.EventObject
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.