public class CallPackage extends Package
| Modifier and Type | Class and Description |
|---|---|
static class |
CallPackage.Observer
Observer class for the
CallPackage to receive notifications whenever a new call arrives. |
| Modifier and Type | Field and Description |
|---|---|
static String |
PACKAGE_TYPE
Default package type.
|
PACKAGE_TYPE_STR| Constructor and Description |
|---|
CallPackage()
Instantiates a new call package.
|
CallPackage(String packageType)
Instantiates a new call package.
|
| Modifier and Type | Method and Description |
|---|---|
Call |
createCall(String target)
Creates a
Call. |
protected void |
onMessage(Frame frame)
Handles an inbound message that has no existing subsession.
|
void |
setObserver(CallPackage.Observer value)
Sets the observer.
|
getPackageType, getSession, getSubSession, getSubSessions, putSubSession, removeSubSessionpublic static final String PACKAGE_TYPE
public CallPackage()
public CallPackage(String packageType)
packageType - the package typeprotected void onMessage(Frame frame)
Packagepublic Call createCall(String target)
Call.target - the name of the targetpublic void setObserver(CallPackage.Observer value)
value - the new observer