public class VanillaSessionDetails extends Object implements SessionDetailsProvider
Constructor and Description |
---|
VanillaSessionDetails() |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
clientAddress() |
void |
clientAddress(InetSocketAddress clientAddress) |
UUID |
clientId() |
void |
clientId(UUID clientId) |
long |
connectTimeMS() |
void |
connectTimeMS(long connectTimeMS) |
String |
domain() |
void |
domain(String domain) |
<I> I |
get(Class<I> infoClass) |
byte |
hostId() |
void |
hostId(byte hostId) |
static VanillaSessionDetails |
of(String userId,
String securityToken,
String domain) |
String |
securityToken() |
void |
securityToken(String securityToken) |
UUID |
sessionId()
used to uniquely identify the session
|
SessionMode |
sessionMode() |
void |
sessionMode(SessionMode sessionMode) |
<I> void |
set(Class<I> infoClass,
I info) |
String |
toString() |
String |
userId() |
void |
userId(String userId) |
net.openhft.chronicle.wire.WireType |
wireType() |
void |
wireType(net.openhft.chronicle.wire.WireType wireType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readMarshallable, writeMarshallable
$equals, $fieldInfos, $hashCode, $toString, copyFrom, copyTo, deepCopy, fromFile, fromFile, fromFileAsMap, fromFileAsMap, fromHexString, fromString, fromString, fromString, getClassName, getField, mergeToMap, reset, setField, streamFromFile, streamFromFile
@NotNull public static VanillaSessionDetails of(String userId, String securityToken, String domain)
public UUID sessionId()
sessionId
in interface SessionDetails
public UUID clientId()
clientId
in interface SessionDetails
public String userId()
userId
in interface SessionDetails
public String securityToken()
securityToken
in interface SessionDetails
public String domain()
domain
in interface SessionDetails
public SessionMode sessionMode()
sessionMode
in interface SessionDetails
public void domain(String domain)
domain
in interface SessionDetailsProvider
public void sessionMode(SessionMode sessionMode)
sessionMode
in interface SessionDetailsProvider
public void clientId(UUID clientId)
clientId
in interface SessionDetailsProvider
public void wireType(@Nullable net.openhft.chronicle.wire.WireType wireType)
wireType
in interface SessionDetailsProvider
@Nullable public net.openhft.chronicle.wire.WireType wireType()
wireType
in interface SessionDetails
public void hostId(byte hostId)
hostId
in interface SessionDetailsProvider
public byte hostId()
hostId
in interface SessionDetails
public InetSocketAddress clientAddress()
clientAddress
in interface SessionDetails
public long connectTimeMS()
connectTimeMS
in interface SessionDetails
public <I> void set(Class<I> infoClass, I info)
set
in interface SessionDetails
@NotNull public <I> I get(Class<I> infoClass)
get
in interface SessionDetails
public void connectTimeMS(long connectTimeMS)
connectTimeMS
in interface SessionDetailsProvider
public void clientAddress(InetSocketAddress clientAddress)
clientAddress
in interface SessionDetailsProvider
public void securityToken(String securityToken)
securityToken
in interface SessionDetailsProvider
public void userId(String userId)
userId
in interface SessionDetailsProvider
Copyright © 2019. All rights reserved.