public interface CDORemoteSession extends Comparable<CDORemoteSession>
local session
that the remote session manager
points to.Modifier and Type | Method and Description |
---|---|
CDORemoteSessionManager |
getManager()
Returns the remote session manager that manages this remote session.
|
int |
getSessionID()
Returns the session ID of this remote session.
|
String |
getUserID()
Returns the user ID of this remote session.
|
boolean |
isSubscribed()
Returns
true if this remote session is subscribed to changes in the set of remote sessions and
delivers custom data events , false otherwise. |
boolean |
sendMessage(CDORemoteSessionMessage message)
Sends a unicast message to this remote session if it is subscribed.
|
compareTo
CDORemoteSessionManager getManager()
int getSessionID()
String getUserID()
boolean isSubscribed()
true
if this remote session is subscribed to changes in the set of remote sessions and
delivers custom data events
, false
otherwise.boolean sendMessage(CDORemoteSessionMessage message)
true
if the server received the custom data message, false
otherwise.
Note: No assumption must be made on whether the recipient session received the message and was able
to handle it adequately!CDOException
- if this remote session is not subscribed.isSubscribed()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html