Class ClientStateInMemory
java.lang.Object
io.aether.cloud.client.ClientStateInMemory
- All Implemented Interfaces:
ClientState, io.aether.utils.ToString
- Direct Known Subclasses:
ClientStateInFile
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface ClientState
ClientState.ClientInfo -
Constructor Summary
ConstructorsConstructorDescriptionClientStateInMemory(UUID parentUid, List<URI> registrationUri) ClientStateInMemory(UUID parentUid, List<URI> registrationUri, Set<io.aether.crypto.SignChecker> rootSigners) ClientStateInMemory(UUID parentUid, List<URI> registrationUri, Set<io.aether.crypto.SignChecker> rootSigners, io.aether.api.common.CryptoLib cryptoLib) -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()getClientInfo(UUID uid) intio.aether.api.common.CryptoLibio.aether.api.common.Keyio.aether.utils.slots.AMFuture<Long> Set<io.aether.crypto.SignChecker> io.aether.api.common.ServerDescriptorgetServerDescriptor(int serverId) getServerInfo(int sid) longgetUid()getUidInfo(UUID uid) static ClientStateInMemoryload(byte[] data) static ClientStateInMemoryvoidloadState(byte[] data) voidvoidbyte[]save()voidvoidsaveCloud(ClientCloud cloud) voidvoidvoidsetCountServersForRegistration(int countServersForRegistration) voidsetMasterKey(io.aether.api.common.Key key) voidsetParentUid(UUID uid) voidsetTimeoutForConnectToRegistrationServer(int timeoutForConnectToRegistrationServer) voidio.aether.utils.AStringtoAString(io.aether.utils.AString sb) toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.aether.utils.ToString
toString2
-
Constructor Details
-
ClientStateInMemory
-
ClientStateInMemory
-
ClientStateInMemory
-
ClientStateInMemory
-
-
Method Details
-
toString
-
toAString
public io.aether.utils.AString toAString(io.aether.utils.AString sb) - Specified by:
toAStringin interfaceio.aether.utils.ToString
-
getUid
- Specified by:
getUidin interfaceClientState
-
setUid
- Specified by:
setUidin interfaceClientState
-
getAlias
- Specified by:
getAliasin interfaceClientState
-
setAlias
- Specified by:
setAliasin interfaceClientState
-
getClientInfo
- Specified by:
getClientInfoin interfaceClientState
-
saveState
public void saveState()- Specified by:
saveStatein interfaceClientState
-
getRegistrationUri
- Specified by:
getRegistrationUriin interfaceClientState
-
getTimeoutForConnectToRegistrationServer
public long getTimeoutForConnectToRegistrationServer()- Specified by:
getTimeoutForConnectToRegistrationServerin interfaceClientState
-
setTimeoutForConnectToRegistrationServer
public void setTimeoutForConnectToRegistrationServer(int timeoutForConnectToRegistrationServer) -
getCountServersForRegistration
public int getCountServersForRegistration()- Specified by:
getCountServersForRegistrationin interfaceClientState
-
setCountServersForRegistration
public void setCountServersForRegistration(int countServersForRegistration) -
getPingDuration
- Specified by:
getPingDurationin interfaceClientState
-
getParentUid
- Specified by:
getParentUidin interfaceClientState
-
setParentUid
- Specified by:
setParentUidin interfaceClientState
-
getMasterKey
public io.aether.api.common.Key getMasterKey()- Specified by:
getMasterKeyin interfaceClientState
-
setMasterKey
public void setMasterKey(io.aether.api.common.Key key) - Specified by:
setMasterKeyin interfaceClientState
-
getCryptoLib
public io.aether.api.common.CryptoLib getCryptoLib()- Specified by:
getCryptoLibin interfaceClientState
-
getRootSigners
- Specified by:
getRootSignersin interfaceClientState
-
getServerInfo
- Specified by:
getServerInfoin interfaceClientState
-
getServerInfoAll
- Specified by:
getServerInfoAllin interfaceClientState
-
getServerDescriptor
public io.aether.api.common.ServerDescriptor getServerDescriptor(int serverId) - Specified by:
getServerDescriptorin interfaceClientState
-
saveCloud
- Specified by:
saveCloudin interfaceClientState
-
getUidInfo
-
getCloud
- Specified by:
getCloudin interfaceClientState
-
getClientInfoAll
- Specified by:
getClientInfoAllin interfaceClientState
-
save
public byte[] save() -
save
-
loadState
-
loadState
public void loadState(byte[] data) -
loadState
-
load
-
load
-