comparison src/org/dancres/blitz/remote/view/ViewRegistration.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.view;
2
3 /**
4 The result of a call to EntryViewFactory.newView includes the assigned id
5 and the initial lease expiry.
6 */
7 public class ViewRegistration {
8 private EntryViewUID theUID;
9 private long theLeaseExpiry;
10
11 ViewRegistration(EntryViewUID aUID, long aExpiry) {
12 theUID = aUID;
13 theLeaseExpiry = aExpiry;
14 }
15
16 public EntryViewUID getUID() {
17 return theUID;
18 }
19
20 public long getExpiry() {
21 return theLeaseExpiry;
22 }
23 }