|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjbora.Event
A JBora event: An event may be a view change, a message, or a local message. WARNING: in the previous vs.the get() methods could throw a NoXXXEventException, where XXX = event, view, etc. (too many classes!) Now they can only throw the EventException.
| Method Summary | |
Message |
getLocalMessage()
Returns the local call message. |
Message |
getMessage()
Returns the related message. |
ProcessID |
getSender()
Returns the sender of the message related to the event received. |
View |
getView()
Returns the related view. |
boolean |
isLocalCall()
Checks if this event is a local call. |
boolean |
isMessage()
Checks if this event is a message. |
boolean |
isView()
Checks if this event is a view. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean isMessage()
public boolean isView()
public boolean isLocalCall()
public Message getMessage()
throws EventException
EventException - This event is not a message
public View getView()
throws EventException
EventException - This event is not a view change
public Message getLocalMessage()
throws EventException
EventException - This event is not a local message
public ProcessID getSender()
throws EventException
EventException - This event is not a message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||