|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.tagvalue.MEvent
public class MEvent
The event class which we use to perform matching on the profile graph constructed using the general matching algorithm.
| Field Summary |
|---|
| Fields inherited from interface cgl.narada.matching.tagvalue.MatchingDebugFlags |
|---|
EdgeAttributes_Debug, EventID_Debug, Matching_Debug, MatchingTreeEdge_Debug, MatchingTreeNode_Debug, MEvent_Debug, Predicate_Debug |
| Constructor Summary | |
|---|---|
MEvent(byte[] eventBytes)
This method serves to unmarshall an event stream received over the link. |
|
MEvent(String eventString)
This MEvent constructor is used only by the JmsEventRoutingProtocol |
|
MEvent(String eventString,
int messageSize)
The MEvent constructor. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
This method returns the MEvent as a stream of bytes, the unmarshalling counterpart to this marshalling scheme is contained within one of the MEvent constructors |
int |
getMessageSize()
|
String |
getNextTag()
This returns the next tag, that is contained in the |
String |
getTagValue(String tag)
This method returns the value associated with a tag |
long |
getTimeStamp()
This method returns the timestamp associated with the event |
static void |
main(String[] args)
|
void |
resetLocalPointer()
|
void |
setTimeStamp(long timeStamp)
|
String |
toString()
Provides a string representation of the event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MEvent(String eventString,
int messageSize)
eventString - The event string that we use to construct the
String.messageSize - This fixes the size of the message, by padding extra
bytes.public MEvent(String eventString)
eventString - The event string that we use to construct the
String.public MEvent(byte[] eventBytes)
eventBytes - The marshalled stream of event bytes that are
received over a link.| Method Detail |
|---|
public long getTimeStamp()
public void setTimeStamp(long timeStamp)
public int getMessageSize()
public void resetLocalPointer()
public String getTagValue(String tag)
tag - The tag for which we are seeking a value.public String getNextTag()
public byte[] getBytes()
public String toString()
toString in class Objectpublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||