D - UR - public class UnitStateAwaiter<D extends com.google.protobuf.GeneratedMessage,UR extends UnitRemote<D>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
UnitStateAwaiter(UR unitRemote) |
| Modifier and Type | Method and Description |
|---|---|
void |
waitForState(StateComparator<D> stateComparator) |
void |
waitForState(StateComparator<D> stateComparator,
long timeout) |
public UnitStateAwaiter(UR unitRemote)
public void waitForState(StateComparator<D> stateComparator) throws InterruptedException
InterruptedExceptionpublic void waitForState(StateComparator<D> stateComparator, long timeout) throws InterruptedException, org.openbase.jul.exception.TimeoutException
InterruptedExceptionorg.openbase.jul.exception.TimeoutExceptionCopyright © 2014–2018 openbase.org. All rights reserved.