public interface ROPConnector
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close all resources related to ROP Connector. | 
| InputStream | establishSession()Establishes a dedicated session with Cayenne DataChannel, returning session id. | 
| InputStream | establishSharedSession(String sharedSessionName)Creates a new session with the specified or joins an existing one. | 
| InputStream | sendMessage(byte[] message)Processes message on a remote server, returning the result of such processing. | 
InputStream establishSession() throws IOException
IOExceptionInputStream establishSharedSession(String sharedSessionName) throws IOException
IOExceptionInputStream sendMessage(byte[] message) throws IOException
IOExceptionvoid close()
    throws IOException
IOExceptionCopyright © 2001–2023 Apache Cayenne. All rights reserved.