public class SipApplicationData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_SERVICE
Key service.
|
static java.lang.String |
KEY_SUBSCRIPTIONS
Key subscriptions.
|
static java.lang.String |
KEY_USER_REQUEST
Key user request.
|
Constructor and Description |
---|
SipApplicationData() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
getApplicationData(java.lang.Object container,
java.lang.String key)
Retrieves a value associated to the a key string in the
container.
|
static void |
setApplicationData(java.lang.Object container,
java.lang.String key,
java.lang.Object value)
Stores a value associated to the a key string in the
container.
|
public static final java.lang.String KEY_SERVICE
public static final java.lang.String KEY_SUBSCRIPTIONS
public static final java.lang.String KEY_USER_REQUEST
public static void setApplicationData(java.lang.Object container, java.lang.String key, java.lang.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 storepublic static java.lang.Object getApplicationData(java.lang.Object container, java.lang.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.
Distributable under Apache license.