public abstract static class ReadTransaction.Request extends Transaction.Request implements PAPReadTransaction.Request
NULL
Modifier | Constructor and Description |
---|---|
protected |
Request()
Constructs an instance.
|
protected |
Request(Prefix prefix)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getAddress()
Gets the address.
|
Point |
getPoint()
Gets the point for the request.
|
int |
getQuantity()
Gets the quantity.
|
int |
getReadAddress()
Gets the read address.
|
int |
getReadQuantity()
Gets the read quantity.
|
protected ReadTransaction.Response |
initResponse(ReadTransaction.Response response,
short[] values)
Initialize a response.
|
protected void |
setAddress(int address)
Sets the address.
|
void |
setPoint(Point point)
Sets the point.
|
void |
setQuantity(int quantity)
Sets the quantity.
|
createResponse, errorResponse, expectedBytes, getExceptionCode, getFunctionCode, getLength, getName, getPrefix, getResponse, getRetries, getServerProxy, getStamp, getState, getWriteAddress, getWriteValues, hasBeenAnswered, hasFailed, isValid, read, readSuffix, setExceptionCode, setServerProxy, setState, updateRetries, waitForResponse, write, write, writeSuffix
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResponse, waitForResponse
protected Request()
protected Request(@Nonnull Prefix prefix)
prefix
- The prefix.public final int getAddress()
public Point getPoint()
getPoint
in interface PAPReadTransaction.Request
@CheckReturnValue public int getQuantity()
public int getReadAddress()
getReadAddress
in class Transaction.Request
public int getReadQuantity()
getReadQuantity
in class Transaction.Request
public void setPoint(@Nonnull Point point)
point
- The point.public void setQuantity(int quantity)
quantity
- The quantity.protected ReadTransaction.Response initResponse(@Nonnull ReadTransaction.Response response, @Nonnull short[] values)
response
- The response.values
- The response values.protected void setAddress(int address)
address
- The address.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.