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
RemoteException
RemoteSession establishSharedSession(String name) throws RemoteException
RemoteException
Object processMessage(ClientMessage message) throws RemoteException, Throwable
RemoteException
Throwable
void close() throws RemoteException
RemoteException
Copyright © 2001–2018 Apache Cayenne. All rights reserved.