public class BackendSession extends java.lang.Object implements IPreviousRequestsKnowledge
Constructor and Description |
---|
BackendSession(MSUser user,
DeviceId device,
double protocolVersion) |
Modifier and Type | Method and Description |
---|---|
void |
addLastClientSyncState(java.lang.String collectionId,
SyncState synckey) |
boolean |
checkHint(java.lang.String key,
boolean defaultValue) |
void |
clearAll() |
DeviceId |
getDeviceId() |
java.lang.String |
getDevId() |
java.lang.Long |
getHeartbeart() |
<T> T |
getInternalState() |
java.lang.String |
getLang() |
java.util.Set<CollectionSyncRequest> |
getLastMonitored() |
java.lang.Integer |
getLastWait() |
java.lang.String |
getLoginAtDomain() |
java.lang.String |
getPolicyKey() |
double |
getProtocolVersion() |
io.vertx.core.http.HttpServerRequest |
getRequest() |
java.lang.String |
getSid() |
java.lang.String |
getUniqueIdentifier() |
java.util.Queue<ItemChangeReference> |
getUnSynchronizedItemChange(CollectionId collectionId) |
MSUser |
getUser() |
boolean |
isMultiAB() |
boolean |
isMultiCal() |
void |
setHeartbeart(java.lang.Long heartbeat) |
void |
setInternalState(java.lang.Object internalState) |
void |
setLastMonitored(java.util.Set<CollectionSyncRequest> lastMonitored) |
void |
setLastWaitSeconds(java.lang.Integer lastWait) |
void |
setMutableState(SessionPersistentState mutableState) |
void |
setPolicyKey(java.lang.String pKey) |
void |
setRequest(io.vertx.core.http.HttpServerRequest request) |
public boolean checkHint(java.lang.String key, boolean defaultValue)
public java.lang.String getLoginAtDomain()
public java.lang.String getSid()
public java.lang.String getDevId()
public java.lang.String getUniqueIdentifier()
public double getProtocolVersion()
public void setPolicyKey(java.lang.String pKey)
public java.lang.String getPolicyKey()
getPolicyKey
in interface IPreviousRequestsKnowledge
public java.util.Set<CollectionSyncRequest> getLastMonitored()
getLastMonitored
in interface IPreviousRequestsKnowledge
public void setLastMonitored(java.util.Set<CollectionSyncRequest> lastMonitored)
public java.util.Queue<ItemChangeReference> getUnSynchronizedItemChange(CollectionId collectionId)
public void addLastClientSyncState(java.lang.String collectionId, SyncState synckey)
public void clearAll()
public void setLastWaitSeconds(java.lang.Integer lastWait)
public java.lang.Integer getLastWait()
getLastWait
in interface IPreviousRequestsKnowledge
public void setHeartbeart(java.lang.Long heartbeat)
public java.lang.Long getHeartbeart()
getHeartbeart
in interface IPreviousRequestsKnowledge
public MSUser getUser()
public DeviceId getDeviceId()
public java.lang.String getLang()
public boolean isMultiCal()
public boolean isMultiAB()
public void setMutableState(SessionPersistentState mutableState)
public io.vertx.core.http.HttpServerRequest getRequest()
public void setRequest(io.vertx.core.http.HttpServerRequest request)
public <T> T getInternalState()
public void setInternalState(java.lang.Object internalState)
Copyright © 2021. All Rights Reserved.