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.Integer collectionId,
SyncState synckey) |
boolean |
checkHint(java.lang.String key,
boolean defaultValue) |
void |
clear(java.lang.Integer collectionId) |
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.String |
getLoginAtDomain() |
java.lang.String |
getPolicyKey() |
double |
getProtocolVersion() |
org.vertx.java.core.http.HttpServerRequest |
getRequest() |
java.lang.String |
getSid() |
java.util.Queue<ItemChangeReference> |
getUnSynchronizedItemChange(java.lang.Integer collectionId) |
MSUser |
getUser() |
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(org.vertx.java.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 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(java.lang.Integer collectionId)
public void addLastClientSyncState(java.lang.Integer collectionId, SyncState synckey)
public void clearAll()
public void clear(java.lang.Integer collectionId)
public void setLastWaitSeconds(java.lang.Integer lastWait)
public void setHeartbeart(java.lang.Long heartbeat)
public java.lang.Long getHeartbeart()
public MSUser getUser()
public DeviceId getDeviceId()
public java.lang.String getLang()
public boolean isMultiCal()
public void setMutableState(SessionPersistentState mutableState)
public org.vertx.java.core.http.HttpServerRequest getRequest()
public void setRequest(org.vertx.java.core.http.HttpServerRequest request)
public <T> T getInternalState()
public void setInternalState(java.lang.Object internalState)
Copyright © 2021. All Rights Reserved.