|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.sip.SipApplicationData
public class SipApplicationData
The only Object with should be used as parameter for any JAIN-SIP class setApplicationData() method (available for instance with Dialog-s and Transaction-s). Allows several parts of SC code to interact independently with setApplicationData(...)/getApplicationData() without stepping on eachother's toes. Utility functions are provided to set/get data from a supported object.
| Field Summary | |
|---|---|
static String |
KEY_SERVICE
Key service. |
static String |
KEY_SUBSCRIPTIONS
Key subscriptions. |
| Constructor Summary | |
|---|---|
SipApplicationData()
|
|
| Method Summary | |
|---|---|
static Object |
getApplicationData(Object container,
String key)
Retrieves a value associated to the a key string in the container. |
static void |
setApplicationData(Object container,
String key,
Object value)
Stores a value associated to the a key string in the container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String KEY_SERVICE
public static final String KEY_SUBSCRIPTIONS
| Constructor Detail |
|---|
public SipApplicationData()
| Method Detail |
|---|
public static void setApplicationData(Object container,
String key,
Object value)
container - the Object to attach the
key/value pair to.key - the key string to retrieve the value later with get()value - the value to store
public static Object getApplicationData(Object container,
String key)
container - the Object to retrieve a value from.key - the key string to identify the value to retrieve
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||