C# Class NATS.Client.Connection.SubChannelPool

The SubChannelPool class is used when the application has specified async subscribers will share channels and associated processing threads in the connection. It simply returns a channel that already has a long running task (thread) processing it. Async subscribers use this channel in lieu of their own channel and message processing task.
Inheritance: IDisposable
Show file Open project: nats-io/csnats

Public Methods

Method Description
Dispose ( ) : void

Private Methods

Method Description
SubChannelPool ( Connection c, int numTasks ) : System
getChannel ( ) : Channel

Gets a message channel for use with an async subscriber.

Method Details

Dispose() public method

public Dispose ( ) : void
return void