mirror of https://github.com/deavmi/tasky.git
Request
- Allow constructing WITHOUT a `ResponseHandler` (it remains as `null)
This commit is contained in:
parent
7072c852dc
commit
7af21a909a
|
@ -16,6 +16,11 @@ public abstract class Request
|
|||
this.respFunc = respFunc;
|
||||
}
|
||||
|
||||
protected this(byte[] requestMessage)
|
||||
{
|
||||
this(requestMessage, null);
|
||||
}
|
||||
|
||||
package final byte[] getRequestData()
|
||||
{
|
||||
return requestMessage;
|
||||
|
|
Loading…
Reference in New Issue