Interface SessionId
public interface SessionId
A unique
Session
identifier, allocated by the server.- Since:
- 5.0
- Author:
- DiffusionData Limited
-
Method Summary
-
Method Details
-
hashCode
int hashCode()Returns hash code of session identifier. -
equals
Checks identifier against another object for equality. -
toString
String toString()Returns a string representation of the session identifier.This string is useful where the session identity needs to be logged, stored in a database, or passed indirectly in an application message. Using
Diffusion.sessionIdFromString(java.lang.String)
, the string can later be converted back to aSessionId
that can be used to interact with the server hosting the session.The format of the string is subject to change between product releases. The current format is a 33-character string consisting of a pair of 16-digit, lower case hexadecimal numbers, separated by a '-'. For example:
2d5f8e2fab472dce-0000000100000007
-