Interface TransformerContainer

All Superinterfaces:
DSContainer, DSData, DSPacket, DSSerializable, Iterable<DSField>, TransformerData, TransformerFlags
All Known Implementing Classes:
TransformerContainerImpl

public interface TransformerContainer extends TransformerData, DSContainer

Represents an update for a particular container object. An update may be received by a Transformer module if it has subscribed to some data using either the Subscriber.addSubscriptionListener(String, SubscriptionListener) or the Subscriber.addSubscriptionListener(ObjectType, SubscriptionListener) methods. If the object's type is a container, then the update can be cast to a TransformerContainer. Alternatively, the Transformer module can create an update using one of the DSFactory.createTransformerContainer(java.lang.String) methods, and can send the update to the Transformer core for processing.

As soon as the update is sent, its memory is freed by the Transformer core. Any further attempts to use the object will result in IllegalStateExceptions being thrown.

See Also: