org.robokind.impl.animation.messaging
Class PortableAnimationEvent

java.lang.Object
  extended by org.robokind.impl.animation.messaging.PortableAnimationEvent
All Implemented Interfaces:
AnimationEvent

public class PortableAnimationEvent
extends Object
implements AnimationEvent

AnimationEvent which wraps an AnimationEventRecord.

Author:
Matthew Stevenson

Nested Class Summary
static class PortableAnimationEvent.Factory
           
static class PortableAnimationEvent.MessageRecordAdapter
           
static class PortableAnimationEvent.RecordMessageAdapter
           
 
Nested classes/interfaces inherited from interface org.robokind.api.animation.protocol.AnimationEvent
AnimationEvent.AnimationEventFactory
 
Constructor Summary
PortableAnimationEvent(AnimationEvent event)
           
PortableAnimationEvent(AnimationEventRecord eventRec)
           
PortableAnimationEvent(String sourceId, String destinationId, long currentTime, Animation anim)
           
 
Method Summary
 Animation getAnimation()
           
 String getDestinationId()
           
 AnimationEventRecord getRecord()
           
 String getSourceId()
           
 long getTimestampMillisecUTC()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableAnimationEvent

public PortableAnimationEvent(AnimationEventRecord eventRec)

PortableAnimationEvent

public PortableAnimationEvent(AnimationEvent event)

PortableAnimationEvent

public PortableAnimationEvent(String sourceId,
                              String destinationId,
                              long currentTime,
                              Animation anim)
Method Detail

getSourceId

public String getSourceId()
Specified by:
getSourceId in interface AnimationEvent

getDestinationId

public String getDestinationId()
Specified by:
getDestinationId in interface AnimationEvent

getTimestampMillisecUTC

public long getTimestampMillisecUTC()
Specified by:
getTimestampMillisecUTC in interface AnimationEvent

getAnimation

public Animation getAnimation()
Specified by:
getAnimation in interface AnimationEvent

getRecord

public AnimationEventRecord getRecord()


Copyright © 2011-2012. All Rights Reserved.