public class LongRunningOperation
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
LongRunningOperation(LongRunningController controller,
LongRunningListener listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fail(java.lang.Throwable error) |
java.lang.Throwable |
getError() |
protected long |
getId() |
Message |
getReply() |
LongRunningState |
getState() |
protected void |
granted(long id) |
boolean |
isComplete() |
protected void |
result(Message message) |
void |
waitForCompletion() |
void |
waitForCompletion(int timeout) |
protected LongRunningOperation(LongRunningController controller, LongRunningListener listener)
protected long getId()
protected void fail(java.lang.Throwable error)
protected void granted(long id)
protected void result(Message message)
public boolean isComplete()
public java.lang.Throwable getError()
public Message getReply()
public LongRunningState getState()
public void waitForCompletion()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void waitForCompletion(int timeout)
throws java.lang.InterruptedException
java.lang.InterruptedException
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0