java.lang.Object
net.i2p.router.tunnel.pool.BuildReplyHandler.Result
- Enclosing class:
BuildReplyHandler
This contains the result of decrypting the build request or reply record, including the decrypted properties field, if present.
For requests, the code is 0 if the decrypt was successful or -1 if the record was not found or the decrypt failed.
For replies, the code is from the reply record, 0-255. The code is usually 0 for ACCEPT or 30 for REJECT_BANDWIDTH. The code is -1 if the record was not found or the decrypt failed.
The Properties is usually null, but if non-null, will contain bandwidth request/reply options as specified in proposal 168, or other options to be defined later.
If the code is -1, or it's a non-ECIES build record, or the properties field in the record was empty, the returned properties here will be null.
Field Summary
FieldsConstructor Summary
ConstructorsMethod Summary
Field Details
code
public final int codeThe result code.props
The properties, or null.
Constructor Details
Result