### ProxyState Interface

`public interface ProxyState<T>`  
Extends [`Closeable`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/io/Closeable.html "class or interface in java.io")

Reactive result of one of [`PState`](/content/javadoc/com/rpl/rama/PState.html "interface in com.rpl.rama"/index.html) `proxy` methods. Changes are pushed from server as soon as they are visible. Fine-grained diffs of changes can be received by providing a [`ProxyState.Callback`](/content/javadoc/com/rpl/rama/ProxyState.Callback.html "interface in com.rpl.rama"/index.html) when invoking a proxy method.

See Also:
- [PStates documentation](/content/docs/~/pstates.html)

### Nested Class Summary
#### Nested Classes

| Modifier and Type          | Interface                       | Description                                            |
|----------------------------|---------------------------------|--------------------------------------------------------|
| `static interface`         | `ProxyState.Callback<T>`        | Interface for specifying callbacks for fine-grained diffs as data changes |
| `static enum`             | `ProxyState.Status`             |                                                        |

### Method Summary

| Modifier and Type          | Method                          | Description                                          |
|----------------------------|---------------------------------|------------------------------------------------------|
| `T`                        | `get()`                         | Get current value of this object.                   |
| `ProxyState.Status`       | `status()`                     | Returns current status of this ProxyState.          |

### Method Details
- ### get
  `T get()`  
  Get current value of this object. Thread-safe.
  **Returns:** Value of object

- ### status
  `ProxyState.Status status()`  
  Returns current status of this ProxyState.
  **Returns:** Status enum
