com.ibm.as400.access
Class SignonEvent
java.lang.Object
java.util.EventObject
com.ibm.as400.access.SignonEvent
- All Implemented Interfaces:
- Serializable
- public final class SignonEvent
- extends EventObject
An Event object generated by an AS400
instance during an attempt to sign-on to the system. SignonEvent objects are consumed by instances of SignonHandler
.
For all instances of SignonEvent, the getSource()
method always returns the AS400 instance that originated the event.
- See Also:
AS400.setSignonHandler(com.ibm.as400.access.SignonHandler)
,
Serialized Form
getException
public AS400SecurityException getException()
- Returns the exception that is associated with this event, if any.
- Returns:
- The exception that is associated with this event, or null if no exception is associated with the event.
- See Also:
hasException()
hasException
public boolean hasException()
- Indicates whether this SignonEvent object has an associated exception. That is, indicates whether getException() will return non-null.
- Returns:
- true if there is an associated exception; false otherwise.
- See Also:
getException()
isReconnecting
public boolean isReconnecting()
- Indicates whether the system object was previously connected. That is, indicates whether this is a reconnection (for example, to an additional service) rather than an initial connection.
- Returns:
- true if the system object is already connected.