Package ucar.unidata.idv.collab
Class CaptureEvent
java.lang.Object
ucar.unidata.idv.collab.CaptureEvent
This holds one colalboration event and is used to
capture a stream of events.
- Version:
- $Revision: 1.5 $Date: 2005/05/13 18:30:36 $
- Author:
- IDV development team
-
Constructor Summary
ConstructorsConstructorDescriptionDummy ctor for xml decodingCaptureEvent(String msg) Create the event with the given message and set the timestamp -
Method Summary
Modifier and TypeMethodDescriptionGet the Message property.longGet the Timestamp property.voidsetMessage(String value) Set the Message property.voidsetTimestamp(long value) Set the Timestamp property.
-
Constructor Details
-
CaptureEvent
public CaptureEvent()Dummy ctor for xml decoding -
CaptureEvent
Create the event with the given message and set the timestamp- Parameters:
msg- The message
-
-
Method Details
-
setTimestamp
public void setTimestamp(long value) Set the Timestamp property.- Parameters:
value- The new value for Timestamp
-
getTimestamp
public long getTimestamp()Get the Timestamp property.- Returns:
- The Timestamp
-
setMessage
Set the Message property.- Parameters:
value- The new value for Message
-
getMessage
Get the Message property.- Returns:
- The Message
-