public class QueryError extends Packet
| Constructor and Description |
|---|
QueryError(long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable value,
BamError error)
A query to a target
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(MessageStream handler,
MessageStream toSource)
SPI method to dispatch the packet to the proper handler
|
BamError |
getError()
Returns the query error
|
long |
getId()
Returns the id
|
java.io.Serializable |
getValue()
Returns the query value
|
java.lang.String |
toString() |
dispatchError, getFrom, getTopublic QueryError(long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable value,
BamError error)
id - the query idto - the target addressfrom - the source addressvalue - copy the query requesterror - the query errorpublic long getId()
public java.io.Serializable getValue()
public BamError getError()
public void dispatch(MessageStream handler, MessageStream toSource)