org.eclipse.viatra.cep.core.streams

## Class DefaultStreamManager

- java.lang.Object
- - org.eclipse.viatra.cep.core.streams.DefaultStreamManager

- All Implemented Interfaces:
    IStreamManager

      public class DefaultStreamManager
      extends java.lang.Object
      implements IStreamManager

  Default implementation of the `IStreamManager` interface.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultStreamManager(org.eclipse.viatra.cep.core.engine.IEventModelManager eventModelManager)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<EventStream>` | `getEventStreams()`
    `EventStream` | `newEventStream()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultStreamManager

          public DefaultStreamManager(org.eclipse.viatra.cep.core.engine.IEventModelManager eventModelManager)

  - ### Method Detail

    - #### newEventStream

          public EventStream newEventStream()

      Specified by:
        `newEventStream` in interface `IStreamManager`
      Returns:
        a new `EventStream`.

    - #### getEventStreams

          public java.util.List<EventStream> getEventStreams()

      Specified by:
        `getEventStreams` in interface `IStreamManager`
      Returns:
        the list of currently instantiated `EventStream`s.