public final class ClientDetails extends Object
| Constructor and Description |
|---|
ClientDetails(InetSocketAddress remoteAddress,
ClientEndpoint clientEndpoint,
boolean authenticated,
boolean authenticatedBySession,
org.piangles.core.services.remoting.SessionDetails sessionDetails,
long inactivityExpiryTimeInSeconds,
long lastLoggedInTimestamp,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getApplicationData() |
ClientEndpoint |
getClientEndpoint() |
String |
getHostName() |
long |
getInactivityExpiryTimeInSeconds() |
String |
getIPAddress() |
long |
getLastLoggedInTimestamp() |
Location |
getLocation() |
Metrics |
getMetrics() |
int |
getPort() |
InetSocketAddress |
getRemoteAddress() |
org.piangles.core.services.remoting.SessionDetails |
getSessionDetails() |
boolean |
hasSessionExpired() |
boolean |
isAuthenticated() |
boolean |
isAuthenticatedBySession() |
void |
markLastAccessed() |
void |
setApplicationData(Object applicationData) |
String |
toString() |
public ClientDetails(InetSocketAddress remoteAddress, ClientEndpoint clientEndpoint, boolean authenticated, boolean authenticatedBySession, org.piangles.core.services.remoting.SessionDetails sessionDetails, long inactivityExpiryTimeInSeconds, long lastLoggedInTimestamp, Location location)
public ClientEndpoint getClientEndpoint()
public boolean isAuthenticated()
public boolean isAuthenticatedBySession()
public org.piangles.core.services.remoting.SessionDetails getSessionDetails()
public long getInactivityExpiryTimeInSeconds()
public long getLastLoggedInTimestamp()
public Metrics getMetrics()
public InetSocketAddress getRemoteAddress()
public String getIPAddress()
public String getHostName()
public int getPort()
public Location getLocation()
public <T> T getApplicationData()
public void setApplicationData(Object applicationData)
public void markLastAccessed()
public boolean hasSessionExpired()
Copyright © 2023. All rights reserved.