|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectides.api.model.supeventset.SupEventSetMessage
public class SupEventSetMessage
A message sent to subscribers listening to a SupervisoryEventSet.
| Field Summary | |
|---|---|
static int |
ADD
The supervisory event was added |
static int |
MODIFY
The supervisory event was modified |
static int |
REMOVE
The supervisory event was removed |
| Constructor Summary | |
|---|---|
SupEventSetMessage(int eventType,
long supEventId,
SupervisoryEventSet source)
Creates a SupervisoryEventSet message to be passed on to any
SupervisoryEventSet subscribers. |
|
SupEventSetMessage(int eventType,
long supEventId,
SupervisoryEventSet source,
java.lang.String messageText)
Creates a SupervisoryEventSet message to be passed on to any
SupervisoryEventSet subscribers. |
|
| Method Summary | |
|---|---|
long |
getEventId()
Retrieve the ID of the SupervisoryEvent in the message. |
int |
getEventType()
Retrieve the type of change (addition, removal or modification). |
java.lang.String |
getMessage()
Retrieve the description of the message. |
SupervisoryEventSet |
getSource()
Retrieve the source of the message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ADD
public static final int REMOVE
public static final int MODIFY
| Constructor Detail |
|---|
public SupEventSetMessage(int eventType,
long supEventId,
SupervisoryEventSet source,
java.lang.String messageText)
SupervisoryEventSet message to be passed on to any
SupervisoryEventSet subscribers.
eventType - the type of change (add, remove, modify).supEventId - the id of the SupervisoryEvent in the event set.source - the SupervisoryEventSet where the message originates.messageText - a descriptions of the message.
public SupEventSetMessage(int eventType,
long supEventId,
SupervisoryEventSet source)
SupervisoryEventSet message to be passed on to any
SupervisoryEventSet subscribers.
eventType - the type of change (add, remove, modify).supEventId - the id of the Supervisory Event in the event set.source - the SupervisoryEventSet where the message originates.| Method Detail |
|---|
public SupervisoryEventSet getSource()
public int getEventType()
public java.lang.String getMessage()
public long getEventId()
SupervisoryEvent in the message.
SupervisoryEvent in the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||