Record Class PushResolver.LiveSession
java.lang.Object
java.lang.Record
com.iizix.server.push.engine.PushResolver.LiveSession
- Record Components:
uid- The user ID.appId- The application ID of the session.session- The client session.remote- The remote address, null when unknown.
- Enclosing class:
PushResolver
public static record PushResolver.LiveSession(long uid, String appId, IClientSessionGyro session, InetAddress remote) extends Record
A live client session of an authenticated user.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionLiveSession(long uid, String appId, IClientSessionGyro session, InetAddress remote) Creates an instance of aLiveSessionrecord class.Method Summary
Modifier and TypeMethodDescriptionappId()Returns the value of theappIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.remote()Returns the value of theremoterecord component.session()Returns the value of thesessionrecord component.final StringtoString()Returns a string representation of this record class.longuid()Returns the value of theuidrecord component.
Constructor Details
Method Details
toString
hashCode
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes.uid
appId
session
remote