public interface RemoteService extends Remote
ROPServlet| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close remote service resources.
|
RemoteSession |
establishSession()
Establishes a dedicated session with Cayenne DataChannel, returning session id.
|
RemoteSession |
establishSharedSession(String name)
Creates a new session with the specified or joins an existing one.
|
Object |
processMessage(ClientMessage message)
Processes message on a remote server, returning the result of such processing.
|
RemoteSession establishSession() throws RemoteException
RemoteExceptionRemoteSession establishSharedSession(String name) throws RemoteException
RemoteExceptionObject processMessage(ClientMessage message) throws RemoteException, Throwable
RemoteExceptionThrowablevoid close()
throws RemoteException
RemoteExceptionCopyright © 2001–2023 Apache Cayenne. All rights reserved.