org.tentackle.db.rmi
Class ModificationThreadRemoteDelegateImpl<T extends ModificationThread>

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.tentackle.db.rmi.RemoteDelegateImpl<T>
                  extended by org.tentackle.db.rmi.ModificationThreadRemoteDelegateImpl<T>
Type Parameters:
T - the modification thread class
All Implemented Interfaces:
Serializable, Remote, ModificationThreadRemoteDelegate, RemoteDelegate

public class ModificationThreadRemoteDelegateImpl<T extends ModificationThread>
extends RemoteDelegateImpl<T>
implements ModificationThreadRemoteDelegate

Remote delegate implementation for ModificationThread.

Author:
harald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tentackle.db.rmi.RemoteDelegateImpl
clazz, csf, db, port, session, ssf
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ModificationThreadRemoteDelegateImpl(RemoteDbSessionImpl session, Class<T> clazz)
           
 
Method Summary
 long[] readSerials(long[] ids)
           
 long[] selectIdSerialForName(String className, String tableName)
           
 long selectMasterSerial()
           
 String selectNameForId(long id)
           
 
Methods inherited from class org.tentackle.db.rmi.RemoteDelegateImpl
getClientSocketFactory, getPort, getServerSocketFactory, getSession
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModificationThreadRemoteDelegateImpl

public ModificationThreadRemoteDelegateImpl(RemoteDbSessionImpl session,
                                            Class<T> clazz)
                                     throws RemoteException
Throws:
RemoteException
Method Detail

selectMasterSerial

public long selectMasterSerial()
                        throws RemoteException
Specified by:
selectMasterSerial in interface ModificationThreadRemoteDelegate
Throws:
RemoteException

selectIdSerialForName

public long[] selectIdSerialForName(String className,
                                    String tableName)
                             throws RemoteException
Specified by:
selectIdSerialForName in interface ModificationThreadRemoteDelegate
Throws:
RemoteException

selectNameForId

public String selectNameForId(long id)
                       throws RemoteException
Specified by:
selectNameForId in interface ModificationThreadRemoteDelegate
Throws:
RemoteException

readSerials

public long[] readSerials(long[] ids)
                   throws RemoteException
Specified by:
readSerials in interface ModificationThreadRemoteDelegate
Throws:
RemoteException


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de