public static interface DOFOperation.Connect 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 |
---|---|
DOFConnection |
getConnection()
Return the connection.
|
DOFConnection |
waitConnection(int timeout)
Wait for the operation to complete, then return the connection.
|
cancel, checkException, extend, getContext, getException, getTimeRemaining, isAcknowledged, isCancelled, isComplete, retry, setTimeout, waitAcknowledged, waitComplete, waitComplete
DOFConnection waitConnection(int timeout) throws DOFException
timeout
- Maximum time to wait, in milliseconds, for the connection. Must be >= 0.DOFException
- if an error occurs.DOFConnection getConnection()