메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | System |
public Open ( |
||
connection | The connection. | |
리턴 | void |
public Open ( string connectionName ) : void | ||
connectionName | string | The name of the connection |
리턴 | void |
public Shut ( |
||
connection | The connection. | |
리턴 | void |
public Shut ( string connectionName ) : void | ||
connectionName | string | The name of the connection |
리턴 | void |