private class Calculator.CalcRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
a_ |
private int |
b_ |
private java.lang.String |
mtype_ |
private int |
x_ |
Constructor and Description |
---|
CalcRequest(java.lang.String mtype,
int a,
int b)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkResponse(Response response)
Checks that the given response is correct for this request.
|
Message |
getMessage()
Returns a Message object corresponding to this request.
|
private final int a_
private final int b_
private final java.lang.String mtype_
private final int x_