comparison src/org/dancres/blitz/remote/NullJavaSpace.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.io.Serializable;
4
5 import java.rmi.RemoteException;
6 import java.rmi.MarshalledObject;
7
8 import net.jini.core.event.RemoteEventListener;
9 import net.jini.core.event.EventRegistration;
10
11 import net.jini.core.entry.Entry;
12 import net.jini.core.entry.UnusableEntryException;
13
14 import net.jini.core.lease.Lease;
15
16 import net.jini.core.transaction.Transaction;
17 import net.jini.core.transaction.TransactionException;
18
19 public class NullJavaSpace implements net.jini.space.JavaSpace, Serializable {
20
21 public NullJavaSpace() {
22 }
23
24 public Lease write(Entry entry, Transaction txn, long lease)
25 throws TransactionException, RemoteException {
26
27 throw new org.dancres.util.NotImplementedException();
28 }
29
30 public Entry read(Entry tmpl, Transaction txn, long timeout)
31 throws UnusableEntryException, TransactionException,
32 InterruptedException, RemoteException {
33
34 throw new org.dancres.util.NotImplementedException();
35 }
36
37 public Entry readIfExists(Entry tmpl, Transaction txn, long timeout)
38 throws UnusableEntryException, TransactionException,
39 InterruptedException, RemoteException {
40
41 throw new org.dancres.util.NotImplementedException();
42 }
43
44 public Entry take(Entry tmpl, Transaction txn, long timeout)
45 throws UnusableEntryException, TransactionException,
46 InterruptedException, RemoteException {
47
48 throw new org.dancres.util.NotImplementedException();
49 }
50
51 public Entry takeIfExists(Entry tmpl, Transaction txn, long timeout)
52 throws UnusableEntryException, TransactionException,
53 InterruptedException, RemoteException {
54
55 throw new org.dancres.util.NotImplementedException();
56 }
57
58 public EventRegistration
59 notify(Entry tmpl, Transaction txn, RemoteEventListener listener,
60 long lease, MarshalledObject handback)
61 throws TransactionException, RemoteException {
62
63 throw new org.dancres.util.NotImplementedException();
64 }
65
66 public Entry snapshot(Entry e) throws RemoteException {
67
68 throw new org.dancres.util.NotImplementedException();
69 }
70
71 public String toString() {
72 return "NullJavaSpace";
73 }
74 }