org.robokind.impl.animation.messaging
Class PortableAnimationSignal

java.lang.Object
  extended by org.robokind.impl.animation.messaging.PortableAnimationSignal
All Implemented Interfaces:
AnimationSignal

public class PortableAnimationSignal
extends Object
implements AnimationSignal

Author:
Jason G. Pallack

Nested Class Summary
static class PortableAnimationSignal.Factory
           
static class PortableAnimationSignal.MessageRecordAdapter
           
static class PortableAnimationSignal.RecordMessageAdapter
           
 
Nested classes/interfaces inherited from interface org.robokind.api.animation.protocol.AnimationSignal
AnimationSignal.AnimationSignalFactory
 
Field Summary
 
Fields inherited from interface org.robokind.api.animation.protocol.AnimationSignal
EVENT_CANCEL, EVENT_COMPLETE, EVENT_PAUSE, EVENT_RESUME, EVENT_START, PROP_LOOP, PROP_RAMPING
 
Constructor Summary
PortableAnimationSignal(AnimationSignal signal)
           
PortableAnimationSignal(AnimationSignallingRecord signalRec)
           
PortableAnimationSignal(String sourceId, long timestampMillisecUTC, String eventType, String animationName, String animationVersion, int animationHash, long animationLength, List<String> animationProperties)
           
 
Method Summary
 Integer getAnimationHash()
           
 Long getAnimationLength()
           
 String getAnimationName()
           
 List<String> getAnimationProperties()
           
 String getAnimationVersion()
           
 String getEventType()
           
 AnimationSignallingRecord 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

PortableAnimationSignal

public PortableAnimationSignal(AnimationSignallingRecord signalRec)

PortableAnimationSignal

public PortableAnimationSignal(AnimationSignal signal)

PortableAnimationSignal

public PortableAnimationSignal(String sourceId,
                               long timestampMillisecUTC,
                               String eventType,
                               String animationName,
                               String animationVersion,
                               int animationHash,
                               long animationLength,
                               List<String> animationProperties)
Method Detail

getSourceId

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

getTimestampMillisecUTC

public Long getTimestampMillisecUTC()
Specified by:
getTimestampMillisecUTC in interface AnimationSignal

getEventType

public String getEventType()
Specified by:
getEventType in interface AnimationSignal

getAnimationName

public String getAnimationName()
Specified by:
getAnimationName in interface AnimationSignal

getAnimationVersion

public String getAnimationVersion()
Specified by:
getAnimationVersion in interface AnimationSignal

getAnimationHash

public Integer getAnimationHash()
Specified by:
getAnimationHash in interface AnimationSignal

getAnimationLength

public Long getAnimationLength()
Specified by:
getAnimationLength in interface AnimationSignal

getAnimationProperties

public List<String> getAnimationProperties()
Specified by:
getAnimationProperties in interface AnimationSignal

getRecord

public AnimationSignallingRecord getRecord()


Copyright © 2011-2013. All Rights Reserved.