## 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.hessian |
  org.apache.cayenne.remote.service |

- - ### 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 Object` | ClientChannel.`send(ClientMessage message, Class<?> 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.hessian

    Methods in org.apache.cayenne.remote.hessian with parameters of type ClientMessage
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | HessianConnection.`beforeSendMessage(ClientMessage message)` Establishes server session if needed.
    `protected Object` | HessianConnection.`doSendMessage(ClientMessage message)` Sends a message to remote Cayenne Hessian service.

  - ### 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)`

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