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