Package ch.psi.wica.model.stream
Class WicaStream
java.lang.Object
ch.psi.wica.model.stream.WicaStream
- Direct Known Subclasses:
WicaStreamSerializer.WicaStreamDeserializerMixin
,WicaStreamSerializer.WicaStreamSerializerMixin
Represents a collection of unique wica channels that are grouped together
for the purpose of real-time monitoring.
-
Constructor Summary
ConstructorDescriptionWicaStream
(WicaStreamId wicaStreamId, WicaStreamProperties wicaStreamProperties, Set<WicaChannel> wicaChannels) Constructs a new stream for the specified channels with the specified stream properties.WicaStream
(WicaStreamProperties wicaStreamProperties, Set<WicaChannel> wicaChannels) -
Method Summary
Modifier and TypeMethodDescriptiongetWicaChannel
(String wicaChannelName) Returns the channel with the specified name (if present).Returns the stream's channels.Returns the stream's id.Returns the stream's properties.toString()
-
Constructor Details
-
WicaStream
public WicaStream() -
WicaStream
-
WicaStream
public WicaStream(WicaStreamId wicaStreamId, WicaStreamProperties wicaStreamProperties, Set<WicaChannel> wicaChannels) Constructs a new stream for the specified channels with the specified stream properties.- Parameters:
wicaStreamId
- the stream's id.wicaStreamProperties
- the stream's properties.wicaChannels
- the stream's channels.
-
-
Method Details
-
getWicaStreamId
Returns the stream's id.- Returns:
- the object.
-
getWicaStreamProperties
Returns the stream's properties.- Returns:
- the object.
-
getWicaChannels
Returns the stream's channels.- Returns:
- the object.
-
getWicaChannel
Returns the channel with the specified name (if present).- Parameters:
wicaChannelName
- the channel name.- Returns:
- optionally empty result.
-
toString
-