TYPE
- The concrete type of the data that will be published and/
or subscribed by the readers and writers that use this
topic description.public interface MultiTopic<TYPE> extends TopicDescription<TYPE>
Topic
s.
MultiTopic allows a more sophisticated subscription that can select and
combine data received from multiple topics into a single resulting type
(specified by the inherited typeName). The data will then be filtered
(selection) and possibly rearranged (aggregation/projection) according to
a subscriptionExpression with parameters expressionParameters.
DataReader
entities associated with a MultiTopic are alerted
of data modifications by the usual Listener or Condition
mechanisms whenever modifications occur to the data associated with
any of the topics relevant to the MultiTopic.ViewState
and InstanceState
are
computed from the corresponding states of the constituting instances:
Modifier and Type | Method and Description |
---|---|
List<String> |
getExpressionParameters()
This operation returns the expression parameters associated with the
MultiTopic, that is, the parameters specified on the last successful
call to
setExpressionParameters(List) , or if
setExpressionParameters(List) was never called, the
parameters specified when the MultiTopic was created. |
String |
getSubscriptionExpression() |
void |
setExpressionParameters(List<String> expressionParameters)
This operation changes the expression parameters associated with the
MultiTopic.
|
cast, close, getName, getParent, getTypeName, getTypeSupport
getEnvironment
String getSubscriptionExpression()
List<String> getExpressionParameters()
setExpressionParameters(List)
, or if
setExpressionParameters(List)
was never called, the
parameters specified when the MultiTopic was created.setExpressionParameters(List)
void setExpressionParameters(List<String> expressionParameters)
getExpressionParameters()
Copyright © 2014. All rights reserved.