|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.objectweb.proactive.core.event.ProActiveEvent
org.objectweb.proactive.ic2d.spy.SpyEvent
org.objectweb.proactive.ic2d.spy.SpyMessageEvent
public class SpyMessageEvent
Field Summary | |
---|---|
protected UniqueID |
destinationID
The UniqueID of the body receiving the call |
protected java.lang.String |
methodName
The name of the method called |
protected int |
requestQueueLength
The request queue length of the body that sent the event or -1 |
protected long |
sequenceNumber
The unique sequence number for the call |
protected UniqueID |
sourceID
The UniqueID of the body sending the call |
Fields inherited from class org.objectweb.proactive.ic2d.spy.SpyEvent |
---|
BODY_CREATION_EVENT_TYPE, BODY_EVENT_TYPE, bodyID, GENERIC_TYPE, OBJECT_RECEIVED_FUTURE_RESULT_TYPE, OBJECT_WAIT_BY_NECESSITY_TYPE, OBJECT_WAIT_FOR_REQUEST_TYPE, pos, REPLY_RECEIVED_MESSAGE_TYPE, REPLY_SENT_MESSAGE_TYPE, REQUEST_RECEIVED_MESSAGE_TYPE, REQUEST_SENT_MESSAGE_TYPE, SERVING_STARTED_TYPE, VOID_REQUEST_SERVED_TYPE |
Fields inherited from class org.objectweb.proactive.core.event.ProActiveEvent |
---|
timeStamp, type |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SpyMessageEvent(int eventType,
MessageEvent message)
|
Method Summary | |
---|---|
UniqueID |
getDestinationBodyID()
|
java.lang.String |
getMethodName()
|
int |
getRequestQueueLength()
|
long |
getSequenceNumber()
|
UniqueID |
getSourceBodyID()
Return the id of the sender of the request |
boolean |
isReplyMessage()
Returns true if the event was created when a reply was sent or received or a void request was finished. |
boolean |
isRequestMessage()
Returns true if the event was created when a request was sent or received. |
boolean |
matches(SpyMessageEvent matchingEvent)
Returns whether matching event belongs to the same Qsend Qrecv Rsend Rrecv set |
java.lang.String |
toString()
|
boolean |
wasSent()
Returns whether the body that created the event sent the message included in the event or received it. |
Methods inherited from class org.objectweb.proactive.ic2d.spy.SpyEvent |
---|
eventTypeAsString, getBodyID, getPos, setPos |
Methods inherited from class org.objectweb.proactive.core.event.ProActiveEvent |
---|
getTimeStamp, getType |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String methodName
protected UniqueID sourceID
protected UniqueID destinationID
protected long sequenceNumber
protected int requestQueueLength
Constructor Detail |
---|
public SpyMessageEvent(int eventType, MessageEvent message)
Method Detail |
---|
public java.lang.String toString()
toString
in class SpyEvent
public UniqueID getSourceBodyID()
public java.lang.String getMethodName()
public long getSequenceNumber()
public UniqueID getDestinationBodyID()
public int getRequestQueueLength()
public boolean wasSent()
public boolean isRequestMessage()
public boolean isReplyMessage()
public boolean matches(SpyMessageEvent matchingEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |