org.starhope.catullus
Interface JavaRMIServer

All Superinterfaces:
Remote
All Known Implementing Classes:
GaiusValeriusCatullus

public interface JavaRMIServer
extends Remote

WRITEME: Document this type.

Author:
brpocock@star-hope.org

Method Summary
<T extends DataRecord>
T
read(Class<T> klass, int id)
          WRITEME: Document this method brpocock@star-hope.org
<T extends DataRecord>
T
read(Class<T> klass, String ident)
          WRITEME: Document this method brpocock@star-hope.org
<T extends DataRecord>
void
remove(T obj)
          WRITEME: Document this method brpocock@star-hope.org
<T extends DataRecord>
T
write(T obj)
          WRITEME: Document this method brpocock@star-hope.org
<T extends DataRecord>
T
writeSync(T obj)
          WRITEME: Document this method brpocock@star-hope.org
 

Method Detail

read

<T extends DataRecord> T read(Class<T> klass,
                              int id)
                          throws NotFoundException,
                                 RemoteException
WRITEME: Document this method brpocock@star-hope.org

Type Parameters:
T - WRITEME
Parameters:
klass - WRITEME
id - WRITEME
Returns:
WRITEME
Throws:
NotFoundException - WRITEME
RemoteException - WRITEME

read

<T extends DataRecord> T read(Class<T> klass,
                              String ident)
                          throws NotFoundException,
                                 RemoteException
WRITEME: Document this method brpocock@star-hope.org

Type Parameters:
T - WRITEME
Parameters:
klass - WRITEME
ident - WRITEME
Returns:
WRITEME
Throws:
NotFoundException - WRITEME
RemoteException - WRITEME

remove

<T extends DataRecord> void remove(T obj)
            throws NotFoundException,
                   RemoteException
WRITEME: Document this method brpocock@star-hope.org

Type Parameters:
T - WRITEME
Parameters:
obj - WRITEME
Throws:
NotFoundException - WRITEME
RemoteException - WRITEME

write

<T extends DataRecord> T write(T obj)
                           throws RemoteException
WRITEME: Document this method brpocock@star-hope.org

Type Parameters:
T - whatever type it might be
Parameters:
obj - WRITEME
Returns:
the record just written (for chaining purposes)
Throws:
RemoteException - WRITEME

writeSync

<T extends DataRecord> T writeSync(T obj)
                               throws RemoteException
WRITEME: Document this method brpocock@star-hope.org

Type Parameters:
T - WRITEME
Parameters:
obj - WRITEME
Returns:
WRITEME
Throws:
RemoteException - WRITEME