public class RemoteSession extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| protected String | eventBridgeFactory | 
| protected Map<String,String> | eventBridgeParameters | 
| protected String | name | 
| protected String | sessionId | 
| Constructor and Description | 
|---|
| RemoteSession(String sessionId)Creates a HessianServiceDescriptor without server events support. | 
| RemoteSession(String sessionId,
             String eventBridgeFactory,
             Map<String,String> eventBridgeParameters)Creates a HessianServiceDescriptor. | 
| Modifier and Type | Method and Description | 
|---|---|
| EventBridge | createServerEventBridge()Deprecated. 
 since 4.0. Factory creation should is handled by the client connection. | 
| String | getEventBridgeFactory() | 
| Map<String,String> | getEventBridgeParameters() | 
| String | getName()Returns session group name. | 
| String | getSessionId()Returns server session id. | 
| static Collection<EventSubject> | getSubjects() | 
| int | hashCode() | 
| boolean | isServerEventsEnabled() | 
| void | setName(String name) | 
| String | toString() | 
protected String name
protected String sessionId
protected String eventBridgeFactory
public RemoteSession(String sessionId)
public String getSessionId()
public String getName()
public void setName(String name)
public boolean isServerEventsEnabled()
@Deprecated public EventBridge createServerEventBridge() throws CayenneRuntimeException
CayenneRuntimeException - if EventBridge startup fails for any reason.public static Collection<EventSubject> getSubjects()
public String getEventBridgeFactory()
Copyright © 2001–2023 Apache Cayenne. All rights reserved.