org.jdesktop.wonderland.server.eventrecorder
Interface EventRecorder


public interface EventRecorder

Reponsible for reording "events" in Wonderland. (I.e. not recording audio or video)

Author:
Bernard Horan

Method Summary
 java.lang.String getName()
          Get the unique name for this event recorder
 boolean isRecording()
          Indicate if this event recorder is recording.
 void recordMessage(WonderlandClientSender sender, WonderlandClientID clientID, CellMessage message)
          Record the message from the sender
 void recordMetadata(CellMessage message, java.lang.String metadata)
          Record the metadata corresponding to the message
 

Method Detail

recordMessage

void recordMessage(WonderlandClientSender sender,
                   WonderlandClientID clientID,
                   CellMessage message)
Record the message from the sender

Parameters:
sender - the sender of the message
clientID - the id of the client sending the message
message -

isRecording

boolean isRecording()
Indicate if this event recorder is recording. For purposes of optimisation

Returns:

getName

java.lang.String getName()
Get the unique name for this event recorder

Returns:

recordMetadata

void recordMetadata(CellMessage message,
                    java.lang.String metadata)
Record the metadata corresponding to the message

Parameters:
message - a message that's been received and recorded
metadata - the string metadata that acts as an annotation to the message


Open Wonderland - http://openwonderland.org