org.robokind.impl.animation.messaging
Class PortableAnimationEvent

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

public class PortableAnimationEvent
extends Object
implements org.robokind.api.animation.protocol.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
org.robokind.api.animation.protocol.AnimationEvent.AnimationEventFactory
 
Constructor Summary
PortableAnimationEvent(org.robokind.api.animation.protocol.AnimationEvent event)
           
PortableAnimationEvent(org.robokind.avrogen.animation.AnimationEventRecord eventRec)
           
PortableAnimationEvent(String sourceId, String destinationId, long currentTime, org.robokind.api.animation.Animation anim)
           
 
Method Summary
 org.robokind.api.animation.Animation getAnimation()
           
 Long getCurrentTimeMillisec()
           
 String getDestinationId()
           
 org.robokind.avrogen.animation.AnimationEventRecord getRecord()
           
 String getSourceId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableAnimationEvent

public PortableAnimationEvent(org.robokind.avrogen.animation.AnimationEventRecord eventRec)

PortableAnimationEvent

public PortableAnimationEvent(org.robokind.api.animation.protocol.AnimationEvent event)

PortableAnimationEvent

public PortableAnimationEvent(String sourceId,
                              String destinationId,
                              long currentTime,
                              org.robokind.api.animation.Animation anim)
Method Detail

getSourceId

public String getSourceId()
Specified by:
getSourceId in interface org.robokind.api.animation.protocol.AnimationEvent

getDestinationId

public String getDestinationId()
Specified by:
getDestinationId in interface org.robokind.api.animation.protocol.AnimationEvent

getCurrentTimeMillisec

public Long getCurrentTimeMillisec()
Specified by:
getCurrentTimeMillisec in interface org.robokind.api.animation.protocol.AnimationEvent

getAnimation

public org.robokind.api.animation.Animation getAnimation()
Specified by:
getAnimation in interface org.robokind.api.animation.protocol.AnimationEvent

getRecord

public org.robokind.avrogen.animation.AnimationEventRecord getRecord()


Copyright © 2011-2013. All Rights Reserved.