org.opcfoundation.ua.transport
Class AsyncRead

java.lang.Object
  extended by org.opcfoundation.ua.utils.AbstractState<ReadState,ServiceResultException>
      extended by org.opcfoundation.ua.transport.AsyncRead
All Implemented Interfaces:
IStatefulObject<ReadState,ServiceResultException>

public class AsyncRead
extends AbstractState<ReadState,ServiceResultException>

AsyncRead class.


Constructor Summary
AsyncRead()
          Constructor for AsyncRead.
 
Method Summary
 void attemptSetError(ServiceResultException e)
          attemptSetError.
 IEncodeable getMessage()
          getMessage.
 void setComplete(IEncodeable msg)
          setComplete.
 void setError(ServiceResultException e)
          setError.
 
Methods inherited from class org.opcfoundation.ua.utils.AbstractState
addStateListener, addStateNotifiable, assertNoError, attemptSetState, clearError, getError, getState, hasError, isStateTransitionAllowed, onListenerException, onStateTransition, removeStateListener, removeStateNotifiable, setState, setState, waitForState, waitForState, waitForStateUninterruptibly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncRead

public AsyncRead()

Constructor for AsyncRead.

Method Detail

getMessage

public IEncodeable getMessage()

getMessage.

Returns:
a IEncodeable object.

setError

public void setError(ServiceResultException e)

setError.

Overrides:
setError in class AbstractState<ReadState,ServiceResultException>
Parameters:
e - a ServiceResultException object.

attemptSetError

public void attemptSetError(ServiceResultException e)

attemptSetError.

Parameters:
e - a ServiceResultException object.

setComplete

public void setComplete(IEncodeable msg)

setComplete.

Parameters:
msg - a IEncodeable object.


Copyright © 2018. All rights reserved.