|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
simpledb.remote.RemoteConnectionImpl
class RemoteConnectionImpl
The RMI server-side implementation of RemoteConnection.
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
RemoteConnectionImpl()
Creates a remote connection and begins a new transaction for it. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the connection. |
(package private) void |
commit()
Commits the current transaction, and begins a new one. |
RemoteStatement |
createStatement()
Creates a new RemoteStatement for this connection. |
(package private) Transaction |
getTransaction()
Returns the transaction currently associated with this connection. |
(package private) void |
rollback()
Rolls back the current transaction, and begins a new one. |
| 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 |
|---|
RemoteConnectionImpl()
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
public RemoteStatement createStatement()
throws java.rmi.RemoteException
createStatement in interface RemoteConnectionjava.rmi.RemoteExceptionRemoteConnection.createStatement()
public void close()
throws java.rmi.RemoteException
close in interface RemoteConnectionjava.rmi.RemoteExceptionRemoteConnection.close()Transaction getTransaction()
void commit()
void rollback()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||