org.mobicents.servlet.sip.core.session
Class SipApplicationSessionKey
java.lang.Object
org.mobicents.servlet.sip.core.session.SipApplicationSessionKey
- All Implemented Interfaces:
- java.io.Serializable
public final class SipApplicationSessionKey
- extends java.lang.Object
- implements java.io.Serializable
Class representing the key (which will also be its id) for a sip application session.
It is composed of a random UUID and the application Name.
- Author:
- Jean Deruelle
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SipApplicationSessionKey
public SipApplicationSessionKey(java.lang.String id,
java.lang.String applicationName)
- Parameters:
id - applicationName -
getId
public java.lang.String getId()
- Returns:
- the Id
getApplicationName
public java.lang.String getApplicationName()
- Returns:
- the applicationName
getAppGeneratedKey
public java.lang.String getAppGeneratedKey()
- Returns:
- the applicationName
setAppGeneratedKey
public void setAppGeneratedKey(java.lang.String appGeneratedKey)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.