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
IOException
InputStream establishSharedSession(String sharedSessionName) throws IOException
IOException
InputStream sendMessage(byte[] message) throws IOException
IOException
void close() throws IOException
IOException
Copyright © 2001–2023 Apache Cayenne. All rights reserved.