org.mobicents.servlet.sip.core.session
Class SipApplicationSessionKey

java.lang.Object
  extended by org.mobicents.servlet.sip.core.session.SipApplicationSessionKey
All Implemented Interfaces:
java.io.Serializable

public 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

Constructor Summary
SipApplicationSessionKey(java.lang.String id, java.lang.String applicationName, boolean isAppGeneratedKey)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getApplicationName()
           
 java.lang.String getId()
           
 int hashCode()
           
 boolean isAppGeneratedKey()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SipApplicationSessionKey

public SipApplicationSessionKey(java.lang.String id,
                                java.lang.String applicationName,
                                boolean isAppGeneratedKey)
Parameters:
id -
applicationName -
Method Detail

getId

public java.lang.String getId()
Returns:
the Id

getApplicationName

public java.lang.String getApplicationName()
Returns:
the applicationName

isAppGeneratedKey

public boolean isAppGeneratedKey()
Returns:
the isAppGeneratedKey

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 © 2009. All Rights Reserved.