Class DataStreamManagement

Hierarchy

  • DataStreamManagement

Constructors

Methods

  • Registers a new event handler to handle incoming event messages. The handler is only called for a connection if for the give protocol no ProtocolHandler was registered on the connection level.

    Parameters

    • protocol: string

      name of the protocol to register the handler for

    • event: string

      name of the event (also referred to as topic. See Topics for some known ones)

    • handler: GlobalEventHandler

      function to be called for every occurring event

    Returns DataStreamManagement