public static interface DOFOperation.Set extends DOFOperation
DOFOperation.Advertise, DOFOperation.Bridge, DOFOperation.Connect, DOFOperation.Control, DOFOperation.Define, DOFOperation.Filter, DOFOperation.Get, DOFOperation.Interest, DOFOperation.Invoke, DOFOperation.OperationListener, DOFOperation.Provide, DOFOperation.Query, DOFOperation.Register, DOFOperation.ResponseLevel, DOFOperation.RetryTime, DOFOperation.Session, DOFOperation.Set, DOFOperation.Start, DOFOperation.Subscribe
Modifier and Type | Method and Description |
---|---|
DOFOperation.Control |
getControl() |
DOFObject |
getObject() |
DOFInterface.Property |
getProperty() |
DOFResult<java.lang.Void> |
getResult()
Get the result.
|
DOFResult<java.lang.Void> |
waitResult(int timeout)
Wait for the operation to become acknowledged, then return its result.
|
cancel, checkException, extend, getContext, getException, getTimeRemaining, isAcknowledged, isCancelled, isComplete, retry, setTimeout, waitAcknowledged, waitComplete, waitComplete
DOFObject getObject()
DOFInterface.Property getProperty()
DOFOperation.Control getControl()
DOFOperation.Control
associated with this Get operation (never returns null -- returns default Control if constructed with null).DOFResult<java.lang.Void> waitResult(int timeout) throws DOFException
DOFObject.SetOperationListener
to
get multiple results.timeout
- Maximum time to wait, in milliseconds, for the result. Must be >= 0.DOFException
- if the operation resulted in an exception.DOFResult<java.lang.Void> getResult() throws DOFErrorException, DOFProviderException
DOFObject.SetOperationListener
to get multiple results.DOFErrorException
- if an exception occurs other than the provider throwing a DOFInterface.Exception
.DOFProviderException
- if the provider threw a DOFInterface.Exception
rather than returning a result.DOFOperation