public interface ConnectionManager extends EMFStore
| Modifier and Type | Field and Description |
|---|---|
static String |
INCOMPATIBLE_VERSION
Connection related failure message.
|
static String |
LOGIN_FIRST
Connection related failure message.
|
static String |
LOGIN_REFUSED
Connection related failure message.
|
static String |
REMOTE
Connection related failure message.
|
static String |
UNSUPPORTED_ENCODING
Connection related failure message.
|
CHANGEPACKAGE_URI, PROJECT_URI| Modifier and Type | Method and Description |
|---|---|
String |
getVersion(ServerInfo serverInfo)
Returns the version of the EMFStore server.
|
boolean |
isLoggedIn(SessionId id)
Checks whether session id is logged in.
|
AuthenticationInformation |
logIn(String username,
String password,
ServerInfo severInfo,
ClientVersionInfo clientVersionInfo)
Log into the server given by server info.
|
void |
logout(SessionId sessionId)
Deletes a session on the server.
|
addTag, createEmptyProject, createProject, createVersion, deleteProject, downloadChangePackageFragment, downloadFileChunk, exportProjectHistoryFromServer, getBranches, getChanges, getEMFProperties, getHistoryInfo, getProject, getProjectList, getVersion, importProjectHistoryToServer, registerEPackage, removeTag, resolveUser, resolveVersionSpec, setEMFProperties, transmitProperty, uploadChangePackageFragment, uploadFileChunkstatic final String REMOTE
static final String LOGIN_FIRST
static final String UNSUPPORTED_ENCODING
static final String LOGIN_REFUSED
static final String INCOMPATIBLE_VERSION
AuthenticationInformation logIn(String username, String password, ServerInfo severInfo, ClientVersionInfo clientVersionInfo) throws ESException
username - the user namepassword - the passwordseverInfo - the server info for the server to log intoclientVersionInfo - the client's versionAuthenticationInformation that can be used for later authenticationESException - in case of failurevoid logout(SessionId sessionId) throws ESException
sessionId - id to be deleted.ESException - in case of failure on serverboolean isLoggedIn(SessionId id)
id - session idString getVersion(ServerInfo serverInfo) throws ESException
serverInfo - the EMFStore server whose version should be retrievedESException - in case of a failureCopyright © 2017. All rights reserved.