UnknownCommandReply
- Made it a kind-of `Command` - Add compile time code to add hooks for runtime registration
This commit is contained in:
parent
5880974a69
commit
2501968c91
|
@ -1,14 +1,16 @@
|
|||
module davinci.c2s.generic;
|
||||
|
||||
import davinci.base : Command;
|
||||
import msgpack;
|
||||
|
||||
public final class UnknownCommandReply
|
||||
public final class UnknownCommandReply : Command
|
||||
{
|
||||
private string offendingCommand;
|
||||
|
||||
this()
|
||||
{
|
||||
|
||||
// TODO: This should be a mixin
|
||||
registerClass!(typeof(this));
|
||||
}
|
||||
|
||||
this(string offending)
|
||||
|
|
Loading…
Reference in New Issue