public class Candidate extends ElementWrapper implements ConnectionEndpoint
| Modifier and Type | Class and Description |
|---|---|
static class |
Candidate.Type |
| Modifier and Type | Field and Description |
|---|---|
static String |
CID_ATTR |
static String |
HOST_ATTR |
static String |
JID_ATTR |
static String |
PORT_ATTR |
static String |
PRIORITY_ATTR |
static String |
TYPE_ATTR |
| Constructor and Description |
|---|
Candidate(Element elem) |
Candidate(String cid,
String host,
Integer port,
JID jid,
Integer priority,
Candidate.Type type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCid() |
String |
getHost() |
JID |
getJid() |
Integer |
getPort() |
Integer |
getPriority() |
Candidate.Type |
getType() |
addChild, equals, findChild, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getWrappedElement, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNSpublic static final String CID_ATTR
public static final String HOST_ATTR
public static final String JID_ATTR
public static final String PORT_ATTR
public static final String PRIORITY_ATTR
public static final String TYPE_ATTR
public Candidate(Element elem) throws JaxmppException
JaxmppExceptionpublic Candidate(String cid, String host, Integer port, JID jid, Integer priority, Candidate.Type type) throws JaxmppException
JaxmppExceptionpublic String getCid() throws XMLException
XMLExceptionpublic String getHost() throws XMLException
getHost in interface ConnectionEndpointXMLExceptionpublic JID getJid() throws XMLException
getJid in interface ConnectionEndpointXMLExceptionpublic Integer getPort() throws XMLException
getPort in interface ConnectionEndpointXMLExceptionpublic Integer getPriority() throws XMLException
XMLExceptionpublic Candidate.Type getType() throws XMLException
XMLExceptionCopyright © 2006–2016 Tigase. All rights reserved.