com.maverick.nio
Class Event
java.lang.Object
com.maverick.events.EventObject
com.maverick.events.Event
com.maverick.nio.Event
- All Implemented Interfaces:
- Serializable
public class Event
- extends com.maverick.events.Event
- implements Serializable
Superclass of all events that may be fired during the life of SSHD.
All events have the following attributes in common :-
- Event code. This is an
int and must be unique across the
whole of SSHD.
- State. A boolean specifying whether the event is the result of a
successful operation or a failed one.
- See Also:
- Serialized Form
| Fields inherited from class com.maverick.events.EventObject |
source |
|
Constructor Summary |
Event(Object source,
int id,
boolean state)
|
| Methods inherited from class com.maverick.events.Event |
addAttribute, getAllAttributes, getAttribute, getError, getId, getState |
| Methods inherited from class com.maverick.events.EventObject |
getSource, toString |
Event
public Event(Object source,
int id,
boolean state)
- Parameters:
source - source of eventid - event codeboolean - state true=successful false=unsuccessful
Copyright © 2012. All Rights Reserved.