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

Constructor Summary
PortableAnimationEvent(AnimationEvent event)
           
PortableAnimationEvent(AnimationEventRecord eventRec)
           
PortableAnimationEvent(String sourceId, String destinationId, long currentTime, Animation anim)
           
 
Method Summary
 Animation getAnimation()
           
 AnimationEventRecord getAnimationEventRecord()
           
 String getDestinationId()
           
 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

getAnimationEventRecord

public AnimationEventRecord getAnimationEventRecord()


Copyright © 2011-2012. All Rights Reserved.