com.impinj.octane

## Class RshellReply

- java.lang.Object
- - com.impinj.octane.RshellReply

-     public class RshellReply
      extends java.lang.Object

  This class helps the user parse and decode the tokens from a rshell reply. Typical rshell replies have the following tokens `Status=SUCCESS,1 key1=value1 key2=value2 ...` This modules parses the response status into a string and a value (to use either independently). It then parses the tokens so you can query the value of any individual token.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RshellReply(java.lang.String s)` Contruct an Rshell Reply object from the response string from the rshell command

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `get(java.lang.String key)` Gets the value of the rshell token with name key

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

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

- - ### Constructor Detail

    - #### RshellReply

          public RshellReply(java.lang.String s)
                      throws OctaneSdkException

      Contruct an Rshell Reply object from the response string from the rshell command
      Parameters:
        `s` - the response from an rshell command
      Throws:
        `OctaneSdkException` - if the formatting fails
      See Also:
        `RshellEngine.send(java.lang.String)`

  - ### Method Detail

    - #### get

          public java.lang.String get(java.lang.String key)

      Gets the value of the rshell token with name key
      Parameters:
        `key` - the name of the rshell token
      Returns:
        the value associated with that token or null if the token was not found