Method | Description | |
---|---|---|
Dispatcher ( IAmACommandProcessor commandProcessor, IAmAMessageMapperRegistry messageMapperRegistry, IEnumerable |
Initializes a new instance of the Dispatcher class.
|
|
End ( ) : System.Threading.Tasks.Task |
Stop listening to messages
|
|
Open ( |
Opens the specified connection.
|
|
Open ( string connectionName ) : void |
Opens the specified connection by name
|
|
Receive ( ) : void |
Begins listening for messages on channels, and dispatching them to request handlers.
|
|
Shut ( |
Shuts the specified connection.
|
|
Shut ( string connectionName ) : void |
Shuts the specified connection by name
|
Method | Description | |
---|---|---|
AddConnectionToConnections ( |
||
CreateConsumers ( IEnumerable |
||
Start ( ) : void |
public Dispatcher ( IAmACommandProcessor commandProcessor, IAmAMessageMapperRegistry messageMapperRegistry, IEnumerable |
||
commandProcessor | IAmACommandProcessor | The command processor. |
messageMapperRegistry | IAmAMessageMapperRegistry | The message mapper registry. |
connections | IEnumerable |
The connections. |
return | System |
public Open ( |
||
connection | The connection. | |
return | void |
public Open ( string connectionName ) : void | ||
connectionName | string | The name of the connection |
return | void |
public Shut ( |
||
connection | The connection. | |
return | void |
public Shut ( string connectionName ) : void | ||
connectionName | string | The name of the connection |
return | void |