Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/remote/JS05Server.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; | |
2 | |
3 import java.util.List; | |
4 | |
5 import java.rmi.Remote; | |
6 import java.rmi.RemoteException; | |
7 import java.rmi.MarshalledObject; | |
8 | |
9 import net.jini.core.transaction.Transaction; | |
10 import net.jini.core.transaction.TransactionException; | |
11 | |
12 import net.jini.core.event.EventRegistration; | |
13 import net.jini.core.event.RemoteEventListener; | |
14 | |
15 import net.jini.id.Uuid; | |
16 | |
17 import org.dancres.blitz.mangler.MangledEntry; | |
18 | |
19 /** | |
20 Back end server interface which defines all the functionality required for | |
21 JavaSpace05. Note that the contents operation is handled via EntryViewAdmin | |
22 | |
23 @see org.dancres.blitz.remote.EntryViewAdmin | |
24 */ | |
25 public interface JS05Server extends Remote { | |
26 public List write(List aMangledEntries, Transaction aTxn, List aLeaseTimes) | |
27 throws RemoteException, TransactionException; | |
28 | |
29 public List take(MangledEntry[] aTemplates, Transaction aTxn, | |
30 long aWaitTime, long aLimit) | |
31 throws RemoteException, TransactionException; | |
32 | |
33 public EventRegistration | |
34 registerForVisibility(MangledEntry[] aTemplates, Transaction aTxn, | |
35 RemoteEventListener aListener, long aLeaseTime, | |
36 MarshalledObject aHandback, | |
37 boolean visibilityOnly) | |
38 throws RemoteException, TransactionException; | |
39 } |