|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.utils.AbstractState<WriteState,ServiceResultException>
org.opcfoundation.ua.transport.AsyncWrite
public class AsyncWrite
Asynchronous message sending
| Constructor Summary | |
|---|---|
AsyncWrite(IEncodeable messageToWrite)
Constructor for AsyncWrite. |
|
| Method Summary | |
|---|---|
void |
attemptSetError(ServiceResultException e)
attemptSetError. |
boolean |
cancel()
cancel. |
IEncodeable |
getMessage()
getMessage. |
boolean |
isCanceled()
isCanceled. |
void |
setError(ServiceResultException e)
setError. |
void |
setQueued()
setQueued. |
void |
setWriting()
setWriting. |
void |
setWritten()
setWritten. |
| 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 |
|---|
public AsyncWrite(IEncodeable messageToWrite)
Constructor for AsyncWrite.
messageToWrite - a IEncodeable object.| Method Detail |
|---|
public IEncodeable getMessage()
getMessage.
IEncodeable object.public void attemptSetError(ServiceResultException e)
attemptSetError.
e - a ServiceResultException object.public void setError(ServiceResultException e)
setError.
setError in class AbstractState<WriteState,ServiceResultException>e - a ServiceResultException object.public boolean cancel()
cancel.
public void setQueued()
setQueued.
public void setWriting()
setWriting.
public void setWritten()
setWritten.
public boolean isCanceled()
isCanceled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||