StreamManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
StreamManagers are used to provide access to the objects involved in processing incoming PayloadStreams.
public class StreamManager : Microsoft.Bot.Streaming.Payloads.IStreamManager
type StreamManager = class
interface IStreamManager
Public Class StreamManager
Implements IStreamManager
- Inheritance
-
StreamManager
- Implements
Constructors
StreamManager(Action<PayloadStreamAssembler>) |
Initializes a new instance of the StreamManager class. |
Methods
CloseStream(Guid) |
Closes the PayloadStreamAssembler assigned to the PayloadStream with the given ID. |
GetPayloadAssembler(Guid) |
Retrieves a PayloadStreamAssembler with the given ID if one exists, otherwise a new instance is created and assigned the given ID. |
GetPayloadStream(Header) |
Retrieves the PayloadStream from the PayloadStreamAssembler this manager manages. |
OnReceive(Header, Stream, Int32) |
Used to set the behavior of the managed PayloadStreamAssembler when data is received. |