parent
874d1c77e4
commit
dc73aff543
|
@ -0,0 +1,29 @@
|
|||
module davinci.c2s.generic;
|
||||
|
||||
import davinci.base : Command;
|
||||
|
||||
public final class UnknownCommandReply
|
||||
{
|
||||
private string offendingCommand;
|
||||
|
||||
this()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
this(string offending)
|
||||
{
|
||||
setOffending(offending);
|
||||
}
|
||||
|
||||
public UnknownCommandReply setOffending(string offending)
|
||||
{
|
||||
this.offendingCommand = offending;
|
||||
return this;
|
||||
}
|
||||
|
||||
public string getOffending()
|
||||
{
|
||||
return this.offendingCommand;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue