diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-28 11:57:48 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-02-28 11:57:48 +0100 |
commit | 6a030381607aaf7b44529c4d5a6552749305c3d2 (patch) | |
tree | 366ac55e7a96af649d1640dd80607fee0a40bf1f /same/src/main/java/com/orbekk/util | |
parent | bc2d8fa1da02037d0b9a2361f394f19e494c8cec (diff) |
Run SameService in a separate process.
Diffstat (limited to 'same/src/main/java/com/orbekk/util')
-rw-r--r-- | same/src/main/java/com/orbekk/util/DelayedOperation.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/same/src/main/java/com/orbekk/util/DelayedOperation.java b/same/src/main/java/com/orbekk/util/DelayedOperation.java index 21215e7..c423a7d 100644 --- a/same/src/main/java/com/orbekk/util/DelayedOperation.java +++ b/same/src/main/java/com/orbekk/util/DelayedOperation.java @@ -26,6 +26,18 @@ public class DelayedOperation { this.message = message; } + public boolean isOk() { + return status == OK; + } + + public int getStatusCode() { + return status; + } + + public String getMessage() { + return message; + } + @Override public String toString() { switch(status) { case OK: |