net.i2p.router.tunnel.pool

## Class BuildReplyHandler.Result

- java.lang.Object
- - net.i2p.router.tunnel.pool.BuildReplyHandler.Result

- Enclosing class:
    BuildReplyHandler

      public static class BuildReplyHandler.Result
      extends Object

  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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `code`
    `Properties` | `props`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Result(int c, Properties p)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### code

          public final int code

    - #### props

          public final Properties props

  - ### Constructor Detail

    - #### Result

          public Result(int c,
                        Properties p)

      Parameters:
        `c` - 0-255 or -1
        `p` - may be null