public class SipGatewayStatus extends AbstractPacketExtension
JibriIq.Status.UNDEFINED
- Jibri SIP calling not available
JibriIq.Status.AVAILABLE
- there is at least one SIP Jibri
currently available
JibriIq.Status.BUSY
- all Jibri instances are busy and are
unable to handle any new sessionsModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
XML element name of this packet extension.
|
static java.lang.String |
NAMESPACE
The namespace of this packet extension.
|
attributes
Constructor and Description |
---|
SipGatewayStatus()
Creates new
SipGatewayStatus . |
Modifier and Type | Method and Description |
---|---|
JibriIq.Status |
getStatus()
Returns the value of current Jibri SIP gateway status stored in it's
STATUS_ATTRIBUTE . |
void |
setStatus(JibriIq.Status status)
Sets new value for the Jibri SIP gateway status.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getPackets, getText, removeAttribute, setAttribute, setNamespace, setText, toXML
public static final java.lang.String NAMESPACE
public static final java.lang.String ELEMENT_NAME
public SipGatewayStatus()
SipGatewayStatus
. It comes with no attributes set.public JibriIq.Status getStatus()
STATUS_ATTRIBUTE
.SipGatewayStatus
description for status explanation.public void setStatus(JibriIq.Status status)
status
- see SipGatewayStatus
description for status
explanation.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.