Mercurial > hg > blitz_stable
comparison src/org/dancres/blitz/remote/transport/Write.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.remote.transport; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 import net.jini.core.transaction.Transaction; | |
6 | |
7 import org.dancres.blitz.mangler.MangledEntry; | |
8 | |
9 /** | |
10 */ | |
11 public class Write implements Serializable { | |
12 private long _leaseTime; | |
13 private MangledEntry _entry; | |
14 private Transaction _txn; | |
15 | |
16 public Write(MangledEntry anEntry, Transaction aTxn, long aLeaseTime) { | |
17 _leaseTime = aLeaseTime; | |
18 _entry = anEntry; | |
19 _txn = aTxn; | |
20 } | |
21 | |
22 public MangledEntry getEntry() { | |
23 return _entry; | |
24 } | |
25 | |
26 public Transaction getTxn() { | |
27 return _txn; | |
28 } | |
29 | |
30 public long getLeaseTime() { | |
31 return _leaseTime; | |
32 } | |
33 } |