public class ScSessionID
extends java.lang.Object
Constructor and Description |
---|
ScSessionID(net.java.otr4j.session.SessionID sessionID)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Overrides equals() for the ability to get the hashcode from sessionID.
|
java.util.UUID |
getGUID()
Get the current GUID.
|
net.java.otr4j.session.SessionID |
getSessionID()
Gets the wrapped session ID
|
int |
hashCode()
Returns
SessionID.hashCode() of the wrapped SessionID. |
java.lang.String |
toString()
Returns
SessionID.toString() of the wrapped SessionID. |
public ScSessionID(net.java.otr4j.session.SessionID sessionID)
sessionID
- the OTR4J SessionID that is being wrapped.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to comparepublic java.util.UUID getGUID()
public net.java.otr4j.session.SessionID getSessionID()
public int hashCode()
SessionID.hashCode()
of the wrapped SessionID.hashCode
in class java.lang.Object
public java.lang.String toString()
SessionID.toString()
of the wrapped SessionID.toString
in class java.lang.Object
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.