# Uses of Class
org.eclipse.emf.cdo.session.remote.CDORemoteSessionMessage

Packages that use CDORemoteSessionMessage
Package
Description
org.eclipse.emf.cdo.session.remote
Client concepts for the communication and collaboration with other sessions.
org.eclipse.emf.cdo.spi.server
Server service provider interfaces and useful base implementations.
org.eclipse.emf.spi.cdo
Client service provider interfaces and useful base implementations.

## Uses of CDORemoteSessionMessage in org.eclipse.emf.cdo.session.remote

Methods in org.eclipse.emf.cdo.session.remote that return CDORemoteSessionMessage
Modifier and Type
Method
Description
`CDORemoteSessionMessage`
CDORemoteSessionEvent.MessageReceived.`getMessage()`
`CDORemoteSessionMessage`
CDORemoteTopicEvent.MessageReceived.`getMessage()`
Returns the message that the `sender` has sent to the `topic` of this event.
Methods in org.eclipse.emf.cdo.session.remote with parameters of type CDORemoteSessionMessage
Modifier and Type
Method
Description
`protected void`
CDORemoteSessionManager.EventAdapter.`onMessageReceived(CDORemoteSession remoteSession, CDORemoteSessionMessage message)`
Called if the local session is `subscribed` and a remote session has `sent` custom data to the local session.
`boolean`
CDORemoteSession.`sendMessage(CDORemoteSessionMessage message)`
Sends a unicast message to this remote session if it is subscribed.
`Set<CDORemoteSession>`
CDORemoteSessionManager.`sendMessage(CDORemoteSessionMessage message, Collection<CDORemoteSession> recipients)`
Same as `CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage, CDORemoteSession...)` but with a recipients `collection`.
`Set<CDORemoteSession>`
CDORemoteSessionManager.`sendMessage(CDORemoteSessionMessage message, CDORemoteSession... recipients)`
Sends a multicast message to the subscribed recipients.
`Set<CDORemoteSession>`
CDORemoteTopic.`sendMessage(CDORemoteSessionMessage message)`
Sends the given `message` to all subscribed `remote sessions`.

## Uses of CDORemoteSessionMessage in org.eclipse.emf.cdo.spi.server

Methods in org.eclipse.emf.cdo.spi.server with parameters of type CDORemoteSessionMessage
Modifier and Type
Method
Description
`void`
InternalSession.`sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message)`
Deprecated.
As of 4.8 use `InternalSession.sendRemoteMessageNotification(InternalSession, InternalTopic, CDORemoteSessionMessage)`.
`void`
InternalSession.`sendRemoteMessageNotification(InternalSession sender, InternalTopic topic, CDORemoteSessionMessage message)`
`List<Integer>`
InternalSessionManager.`sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, int[] recipients)`
`List<Integer>`
InternalSessionManager.`sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, InternalTopic topic)`
`void`
ISessionProtocol.`sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message)`
Deprecated.
As of 4.8 use `ISessionProtocol.sendRemoteMessageNotification(InternalSession, InternalTopic, CDORemoteSessionMessage)`.
`void`
ISessionProtocol.`sendRemoteMessageNotification(InternalSession sender, InternalTopic topic, CDORemoteSessionMessage message)`

## Uses of CDORemoteSessionMessage in org.eclipse.emf.spi.cdo

Methods in org.eclipse.emf.spi.cdo with parameters of type CDORemoteSessionMessage
Modifier and Type
Method
Description
`void`
InternalCDORemoteSessionManager.`handleRemoteSessionMessage(int sessionID, String topicID, CDORemoteSessionMessage message)`
`void`
InternalCDORemoteSessionManager.`handleRemoteSessionMessage(int sessionID, CDORemoteSessionMessage message)`
Deprecated.
As of 4.8 use `InternalCDORemoteSessionManager.handleRemoteSessionMessage(int, String, CDORemoteSessionMessage)`.
`void`
InternalCDORemoteTopic.`handleRemoteSessionMessage(InternalCDORemoteSession remoteSession, CDORemoteSessionMessage message)`
`Set<Integer>`
CDOSessionProtocol.`sendRemoteMessage(CDORemoteSessionMessage message, List<CDORemoteSession> recipients)`
Deprecated.
As of 4.8 use `CDOSessionProtocol.sendRemoteMessage(CDORemoteSessionMessage, CDORemoteTopic, List)`.
`Set<Integer>`
CDOSessionProtocol.`sendRemoteMessage(CDORemoteSessionMessage message, CDORemoteTopic topic, List<CDORemoteSession> recipients)`