Command
- Removed requirement to pass `byte[]` to us - Removed commented-out method Test - Removed up-call
This commit is contained in:
parent
1650775133
commit
dc5790eae7
|
@ -29,9 +29,9 @@ public abstract class Command
|
|||
{
|
||||
private byte[] data;
|
||||
|
||||
this(byte[] data)
|
||||
this()
|
||||
{
|
||||
this.data = data;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -46,8 +46,6 @@ public abstract class Command
|
|||
this.data = data;
|
||||
}
|
||||
|
||||
// public abstract byte[] encode();
|
||||
|
||||
/**
|
||||
* Returns the bianry data of this
|
||||
* command
|
||||
|
|
|
@ -10,7 +10,6 @@ public final class NopMessage : Command
|
|||
this()
|
||||
{
|
||||
registerClass!(typeof(this));
|
||||
super(cast(byte[])pack(this));
|
||||
}
|
||||
|
||||
public string getTestField()
|
||||
|
|
Loading…
Reference in New Issue