public interface StreamedSiGMLSupplierForAnimationGen
AnimatedSign
s, with animation data not yet attached at the
time they are supplied.
This is a "pull" interface, i.e. the supplier delivers a sign only
in response to an explicit request from its client, via
getNextSignToBeAnimated()
.
2015-03-13 JRWG
Changed the protocol to be more of a server model. New call
#putProcessedSign()
takes zero or more signs resulting from
processing of a sign provided by getNextSignToBeAnimated()
.
Finally a doneSignAnimation()
call prepares for requesting a
further sign.Modifier and Type | Method and Description |
---|---|
void |
doneSignAnimation()
Accepts a notification from this supplier's client indicating that
it has completed processing the sign received from the previous
getNextSignToBeAnimated() call.
|
AnimatedSign |
getNextSignToBeAnimated()
Returns next SiGML sign to be animated, or
null , if
the sign stream is exhausted. |
void |
putProcessedSign(AnimatedSign as)
Accepts a notification from this supplier's client indicating that
it has processed a sign in the stream.
|
AnimatedSign getNextSignToBeAnimated() throws java.lang.InterruptedException
null
, if
the sign stream is exhausted.java.lang.InterruptedException
void putProcessedSign(AnimatedSign as)
void doneSignAnimation()