Package org.apache.cayenne.rop
Class ProxyRemoteService
- java.lang.Object
-
- org.apache.cayenne.rop.ProxyRemoteService
-
-
Field Summary
Fields Modifier and Type Field Description protected ROPConnector
ropConnector
protected org.apache.cayenne.rop.ROPSerializationService
serializationService
-
Constructor Summary
Constructors Constructor Description ProxyRemoteService(org.apache.cayenne.rop.ROPSerializationService serializationService, ROPConnector ropConnector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.apache.cayenne.remote.RemoteSession
establishSession()
org.apache.cayenne.remote.RemoteSession
establishSharedSession(String name)
Object
processMessage(org.apache.cayenne.remote.ClientMessage message)
-
-
-
Field Detail
-
serializationService
protected org.apache.cayenne.rop.ROPSerializationService serializationService
-
ropConnector
protected ROPConnector ropConnector
-
-
Constructor Detail
-
ProxyRemoteService
public ProxyRemoteService(org.apache.cayenne.rop.ROPSerializationService serializationService, ROPConnector ropConnector)
-
-
Method Detail
-
establishSession
public org.apache.cayenne.remote.RemoteSession establishSession() throws RemoteException
- Specified by:
establishSession
in interfaceorg.apache.cayenne.remote.RemoteService
- Throws:
RemoteException
-
establishSharedSession
public org.apache.cayenne.remote.RemoteSession establishSharedSession(String name) throws RemoteException
- Specified by:
establishSharedSession
in interfaceorg.apache.cayenne.remote.RemoteService
- Throws:
RemoteException
-
processMessage
public Object processMessage(org.apache.cayenne.remote.ClientMessage message) throws RemoteException, Throwable
- Specified by:
processMessage
in interfaceorg.apache.cayenne.remote.RemoteService
- Throws:
RemoteException
Throwable
-
close
public void close() throws RemoteException
- Specified by:
close
in interfaceorg.apache.cayenne.remote.RemoteService
- Throws:
RemoteException
-
-