Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.common
Class DisconnectEvent

    java.lang.Object
      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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD