|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectformatter.Notification
public class Notification
This class represents all Events that are not messages. This includes
the event that the Session has started or ended, or either SNs have been
disconnected.
| Nested Class Summary | |
|---|---|
static class |
Notification.Type
This enum lists the types of Events that are
allowed. |
| Constructor Summary | |
|---|---|
Notification(Notification.Type type,
Date date,
Timestamp time)
Creates a new Notification object with the passed parameters. |
|
| Method Summary | |
|---|---|
Date |
getDate()
Returns the Date object corresponding to when this
Event occurred. |
Timestamp |
getTimestamp()
Returns the Timestamp object corresponding to when this
Event occurred. |
Notification.Type |
getType()
Returns the Type of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Notification(Notification.Type type,
Date date,
Timestamp time)
Notification object with the passed parameters.
| Method Detail |
|---|
public Notification.Type getType()
Type of this object.
Type of this object.public Date getDate()
Date object corresponding to when this
Event occurred.
Date object corresponding to when this
Event occurred.public Timestamp getTimestamp()
Timestamp object corresponding to when this
Event occurred.
getTimestamp in interface EventTimestamp object corresponding to when this
Event occurred.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||