|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.client.model.connectionmanager.SessionManager
public class SessionManager
Handles session management during the execution of a ServerCall.
| Constructor Summary | |
|---|---|
SessionManager()
Constructor. |
|
| Method Summary | ||
|---|---|---|
|
execute(ServerCall<T> serverCall)
Executes the given ServerCall. |
|
ESAbstractSessionProvider |
getSessionProvider()
Returns the ESAbstractSessionProvider in use by this session manager. |
|
void |
setSessionProvider(ESAbstractSessionProvider sessionProvider)
Sets the ESAbstractSessionProvider to be used by this session manager. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionManager()
| Method Detail |
|---|
public <T> void execute(ServerCall<T> serverCall)
throws ESException
ServerCall.
T - type of the result the server call is providingserverCall - the server call to be executed
ESException - If an error occurs during execution of the server callpublic void setSessionProvider(ESAbstractSessionProvider sessionProvider)
ESAbstractSessionProvider to be used by this session manager.
sessionProvider - the session provider to be usedpublic ESAbstractSessionProvider getSessionProvider()
ESAbstractSessionProvider in use by this session manager.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||