Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/CompletionEvent.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 package org.dancres.blitz; | |
2 | |
3 import net.jini.core.transaction.TransactionException; | |
4 | |
5 import org.dancres.blitz.mangler.MangledEntry; | |
6 | |
7 /** | |
8 */ | |
9 class CompletionEvent { | |
10 static final CompletionEvent COMPLETED = | |
11 new CompletionEvent(); | |
12 | |
13 private MangledEntry theEntry; | |
14 private TransactionException theException; | |
15 | |
16 private CompletionEvent() { | |
17 } | |
18 | |
19 CompletionEvent(MangledEntry anEntry) { | |
20 theEntry = anEntry; | |
21 } | |
22 | |
23 CompletionEvent(TransactionException anE) { | |
24 theException = anE; | |
25 } | |
26 | |
27 MangledEntry getEntry() { | |
28 return theEntry; | |
29 } | |
30 | |
31 TransactionException getException() { | |
32 return theException; | |
33 } | |
34 } | |
35 |