|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.introspect.RecordEventReq
Request that the local SDMBuilder
model record an event.
Nested Class Summary | |
---|---|
static class |
RecordEventReq.EventId
Simple class to identify event types. |
Field Summary | |
---|---|
String |
model
|
Constructor Summary | |
---|---|
RecordEventReq(InputBuffer buffer)
|
|
RecordEventReq(String model,
QuickSerializable id,
Time t)
Record that an event identified by id occurred at time
t .
|
|
RecordEventReq(String model,
String fourcc,
Time t)
Record that an event of type fourcc occurred at time
t . |
Method Summary | |
---|---|
QuickSerializable |
id()
Get the id of the event. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
Time |
time()
Get the time the event occurred. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public String model
Constructor Detail |
public RecordEventReq(String model, String fourcc, Time t)
fourcc
occurred at time
t
.
model
- the model this message is destined forfourcc
- a 4-character string that identifies the event typet
- the time the event occurred.public RecordEventReq(String model, QuickSerializable id, Time t)
id
occurred at time
t
.
NOTE: do not use this constructor along with the other one unless you know what you are doing.
model
- the model this message is destined forid
- object that identifies the event. Note that all such
objects must be Comparable
, and
must implement
Object.equals(Object)
and
Object.hashCode()
properly.t
- the time the event occurred.public RecordEventReq(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object topublic QuickSerializable id()
public Time time()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |