## Uses of Interface
org.apache.cayenne.remote.ClientMessage

- Packages that use ClientMessage
  Package | Description
  --- | ---
  org.apache.cayenne.remote | Contains classes an interfaces related to Cayenne remote object persistence features.
  org.apache.cayenne.remote.service |
  org.apache.cayenne.rop |

- - ### Uses of ClientMessage in org.apache.cayenne.remote

    Classes in org.apache.cayenne.remote that implement ClientMessage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BootstrapMessage` A message sent to a remote service to request Cayenne mapping info.
    `class` | `QueryMessage` A message passed to a DataChannel to request a query execution with result returned as QueryResponse.
    `class` | `SyncMessage` A message used for synchronization of the child with parent.

    Methods in org.apache.cayenne.remote with parameters of type ClientMessage
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | BaseConnection.`beforeSendMessage(ClientMessage message)` Called before logging the beginning of message processing.
    `protected abstract Object` | BaseConnection.`doSendMessage(ClientMessage message)` The worker method invoked to process message.
    `Object` | RemoteService.`processMessage(ClientMessage message)` Processes message on a remote server, returning the result of such processing.
    `protected <T> T` | ClientChannel.`send(ClientMessage message, Class<T> resultClass)` Sends a message via connector, getting a result as an instance of a specific class.
    `Object` | BaseConnection.`sendMessage(ClientMessage message)` Invokes 'beforeSendMessage' on self, then invokes 'doSendMessage'.
    `Object` | ClientConnection.`sendMessage(ClientMessage message)` Sends a synchronous ClientMessage to the server, returning a reply.

  - ### Uses of ClientMessage in org.apache.cayenne.remote.service

    Methods in org.apache.cayenne.remote.service with parameters of type ClientMessage
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | LocalConnection.`beforeSendMessage(ClientMessage message)` Does nothing.
    `protected Object` | LocalConnection.`doSendMessage(ClientMessage message)` Dispatches a message to an internal handler.
    `Object` | BaseRemoteService.`processMessage(ClientMessage message)`

  - ### Uses of ClientMessage in org.apache.cayenne.rop

    Methods in org.apache.cayenne.rop with parameters of type ClientMessage
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | HttpClientConnection.`beforeSendMessage(ClientMessage message)`
    `protected Object` | HttpClientConnection.`doSendMessage(ClientMessage message)`
    `Object` | ProxyRemoteService.`processMessage(ClientMessage message)`

Copyright © 2001–2023 Apache Cayenne. All rights reserved.