public class AsyncRead extends AbstractState<ReadState,ServiceResultException>
AsyncRead class.
| Constructor and Description |
|---|
AsyncRead()
Constructor for AsyncRead.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attemptSetError(ServiceResultException e)
attemptSetError.
|
IEncodeable |
getMessage()
getMessage.
|
void |
setComplete(IEncodeable msg)
setComplete.
|
void |
setError(ServiceResultException e)
setError.
|
addStateListener, addStateNotifiable, attemptSetState, clearError, getError, getState, hasError, isStateTransitionAllowed, onListenerException, onStateTransition, removeStateListener, removeStateNotifiable, setState, setState, throwIfError, waitForState, waitForState, waitForStateUninterruptiblypublic void attemptSetError(ServiceResultException e)
attemptSetError.
e - a ServiceResultException object.public IEncodeable getMessage()
getMessage.
IEncodeable object.public void setComplete(IEncodeable msg)
setComplete.
msg - a IEncodeable object.public void setError(ServiceResultException e)
setError.
setError in class AbstractState<ReadState,ServiceResultException>e - a ServiceResultException object.Copyright © 2026. All rights reserved.