Table of Contents

Class Router

Namespace
Bonsai.ZeroMQ
Assembly
Bonsai.ZeroMQ.dll

Represents an operator that creates a router socket for tracking the identity of received requests so that responses can be matched even if computed concurrently.

public class Router : Source<ResponseContext>
Inheritance
Router
Inherited Members

Properties

ConnectionString

Gets or sets a value specifying the endpoints to attach the socket to.

Methods

Generate()

Generates an observable sequence of requests received from a router socket, where the identity of each request is tracked so that responses can be matched even if computed concurrently.

Generate(IObservable<NetMQMessage>)

Creates a router socket that appends an identity to all received messages and reads it back from outgoing messages to determine the peer the message should be routed to.