Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.common
Class DisconnectEvent

java.lang.Object
  extended by weblogic.common.DisconnectEvent

public final class DisconnectEvent
extends Object

Defines a DisconnectEvent that a T3Client can act upon by implementing the DisconnectListener interface.

See Also:
DisconnectListener

Method Summary
 String getReason()
          Gets the reason for the DisconnectEvent as a String.
 Object getSource()
          Gets the source for a DisconnectEvent.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSource

public Object getSource()
Gets the source for a DisconnectEvent. The source is the object generating the DisconnectEvent, in this case a T3Client.

Returns:
Object generating the disconnect

getReason

public String getReason()
Gets the reason for the DisconnectEvent as a String. Reasons are often associated with the timeout property of the client, that is, whether a soft, hard, or idle disconnect timeout was initiated by the WebLogic Server. A client may also be disconnected by its request, in which case the reason will be "Normal user disconnect."

Returns:
Reason for disconnect

toString

public String toString()
Overrides:
toString in class Object

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02