diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/dancres/blitz/remote/NullJavaSpace.java	Sat Mar 21 11:00:06 2009 +0000
@@ -0,0 +1,74 @@
+package org.dancres.blitz.remote;
+
+import java.io.Serializable;
+
+import java.rmi.RemoteException;
+import java.rmi.MarshalledObject;
+
+import net.jini.core.event.RemoteEventListener;
+import net.jini.core.event.EventRegistration;
+
+import net.jini.core.entry.Entry;
+import net.jini.core.entry.UnusableEntryException;
+
+import net.jini.core.lease.Lease;
+
+import net.jini.core.transaction.Transaction;
+import net.jini.core.transaction.TransactionException;
+
+public class NullJavaSpace implements net.jini.space.JavaSpace, Serializable {
+
+    public NullJavaSpace() {
+    }
+
+    public Lease write(Entry entry, Transaction txn, long lease)
+        throws TransactionException, RemoteException {
+
+        throw new org.dancres.util.NotImplementedException();
+    }
+
+    public Entry read(Entry tmpl, Transaction txn, long timeout)
+        throws UnusableEntryException, TransactionException, 
+               InterruptedException, RemoteException {
+
+        throw new org.dancres.util.NotImplementedException();
+    }
+
+    public Entry readIfExists(Entry tmpl, Transaction txn, long timeout)
+        throws UnusableEntryException, TransactionException, 
+               InterruptedException, RemoteException {
+
+        throw new org.dancres.util.NotImplementedException();
+    }
+
+    public Entry take(Entry tmpl, Transaction txn, long timeout)
+        throws UnusableEntryException, TransactionException, 
+               InterruptedException, RemoteException {
+
+        throw new org.dancres.util.NotImplementedException();
+    }
+
+    public Entry takeIfExists(Entry tmpl, Transaction txn, long timeout)
+        throws UnusableEntryException, TransactionException, 
+               InterruptedException, RemoteException {
+
+        throw new org.dancres.util.NotImplementedException();
+    }
+
+    public EventRegistration
+        notify(Entry tmpl, Transaction txn, RemoteEventListener listener,
+               long lease, MarshalledObject handback)
+        throws TransactionException, RemoteException {
+
+        throw new org.dancres.util.NotImplementedException();
+    }
+
+    public Entry snapshot(Entry e) throws RemoteException {
+
+        throw new org.dancres.util.NotImplementedException();
+    }
+
+    public String toString() {
+        return "NullJavaSpace";
+    }
+}