private static class Control.Operation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
operationId
Field holding the operation ID.
|
private boolean |
request
Flag indicating if this operation is a request (when
true ) or a reply (when false ). |
Modifier | Constructor and Description |
---|---|
private |
Operation(boolean request,
int operationId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Test if the passed object is the same as this operation.
|
private boolean request
true
) or a reply (when false
).private int operationId
private Operation(boolean request, int operationId)
request
- if true
, this is a requestoperationId
- the operation idpublic boolean equals(java.lang.Object obj)
request
and operationId
must be the
same.equals
in class java.lang.Object