StreamLink.NET
7.1.6-7.1.6-3952-ee12172
|
Defines the interface that you should implement to receive information on the result of a command. More...
Public Member Functions | |
void | OnCommandError (string subject, Caplin.StreamLink.ICommandErrorEvent commandErrorEvent) |
Callback invoked when a command failed or is an unknown state. More... | |
void | OnCommandOk (string subject) |
Callback invoked when a command was successful. More... | |
Defines the interface that you should implement to receive information on the result of a command.
For more about commands, see ICommandSubscription.
A trivial implementation would be as follows :
void Caplin.StreamLink.ICommandListener.OnCommandError | ( | string | subject, |
Caplin.StreamLink.ICommandErrorEvent | commandErrorEvent | ||
) |
Callback invoked when a command failed or is an unknown state.
subject | The subject of the command. |
commandErrorEvent | Information about the command error. |
void Caplin.StreamLink.ICommandListener.OnCommandOk | ( | string | subject | ) |
Callback invoked when a command was successful.
subject | The subject of the command. |