Package org.apache.cayenne.rop
Class ProxyRemoteService
java.lang.Object
org.apache.cayenne.rop.ProxyRemoteService
- All Implemented Interfaces:
Remote,org.apache.cayenne.remote.RemoteService
public class ProxyRemoteService extends Object implements org.apache.cayenne.remote.RemoteService
-
Field Summary
Fields Modifier and Type Field Description protected ROPConnectorropConnectorprotected org.apache.cayenne.rop.ROPSerializationServiceserializationService -
Constructor Summary
Constructors Constructor Description ProxyRemoteService(org.apache.cayenne.rop.ROPSerializationService serializationService, ROPConnector ropConnector) -
Method Summary
Modifier and Type Method Description voidclose()org.apache.cayenne.remote.RemoteSessionestablishSession()org.apache.cayenne.remote.RemoteSessionestablishSharedSession(String name)ObjectprocessMessage(org.apache.cayenne.remote.ClientMessage message)
-
Field Details
-
serializationService
protected org.apache.cayenne.rop.ROPSerializationService serializationService -
ropConnector
-
-
Constructor Details
-
ProxyRemoteService
public ProxyRemoteService(org.apache.cayenne.rop.ROPSerializationService serializationService, ROPConnector ropConnector)
-
-
Method Details
-
establishSession
- Specified by:
establishSessionin interfaceorg.apache.cayenne.remote.RemoteService- Throws:
RemoteException
-
processMessage
public Object processMessage(org.apache.cayenne.remote.ClientMessage message) throws RemoteException, Throwable- Specified by:
processMessagein interfaceorg.apache.cayenne.remote.RemoteService- Throws:
RemoteExceptionThrowable
-
close
- Specified by:
closein interfaceorg.apache.cayenne.remote.RemoteService- Throws:
RemoteException
-