ucar.unidata.idv.collab
Class CaptureEvent

java.lang.Object
  extended by ucar.unidata.idv.collab.CaptureEvent

public class CaptureEvent
extends Object

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
CaptureEvent()
          Dummy ctor for xml decoding
CaptureEvent(String msg)
          Create the event with the given message and set the timestamp
 
Method Summary
 String getMessage()
          Get the Message property.
 long getTimestamp()
          Get the Timestamp property.
 void setMessage(String value)
          Set the Message property.
 void setTimestamp(long value)
          Set the Timestamp property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptureEvent

public CaptureEvent()
Dummy ctor for xml decoding


CaptureEvent

public CaptureEvent(String msg)
Create the event with the given message and set the timestamp

Parameters:
msg - The message
Method Detail

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

public void setMessage(String value)
Set the Message property.

Parameters:
value - The new value for Message

getMessage

public String getMessage()
Get the Message property.

Returns:
The Message