<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="../../../design/description.xslt" type="text/xsl"?>
<node lang="en" type="DynamicNode.Lib.Basic.NStream" assembly="NLibDefault" xmlns="http://dynamicnodes.mastersign.de/description">
  <caption>Stream</caption>
  <group>Basics</group>
  <description>Creates a stream and associates tokens passed through with that stream.</description>
  <inPorts>
    <port name="in">
      <type>&lt;TElement&gt;</type>
      <description>Takes arbitrary tokens.</description>
    </port>
    <port name="streamName">
      <type>System.String</type>
      <description>The name of the created stream.</description>
    </port>
    <port name="newStream">
      <description>
        If a tokens arrives on this in port, the node closes the currently
        used stream and creates a new stream.
      </description>
    </port>
  </inPorts>
  <outPorts>
    <port name="out">
      <type>TElement</type>
      <description>Passes the tokens associated with the current stream.</description>
    </port>
  </outPorts>
  <helpText>
    This node can be used to associate tokens without a stream with a nuew stream
    or to replace the stream of incoming tokens with a new stream.
  </helpText>
  <customArea>A symbolic presentation of a stream.</customArea>
</node>