public class Transport extends ElementWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
Transport.Mode |
| Modifier and Type | Field and Description |
|---|---|
static String |
DSTADDR_ATTR |
static String |
MODE_ATTR |
static String |
SID_ATTR |
| Constructor and Description |
|---|
Transport(Element elem) |
Transport(String xmlns,
String sid,
Transport.Mode mode) |
Transport(String xmlns,
String sid,
Transport.Mode mode,
String dstaddr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCandidate(Candidate candidate) |
List<Candidate> |
getCandidates() |
String |
getDstAddr() |
Transport.Mode |
getMode() |
String |
getSid() |
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 DSTADDR_ATTR
public static final String MODE_ATTR
public static final String SID_ATTR
public Transport(Element elem) throws JaxmppException
JaxmppExceptionpublic Transport(String xmlns, String sid, Transport.Mode mode) throws JaxmppException
JaxmppExceptionpublic Transport(String xmlns, String sid, Transport.Mode mode, String dstaddr) throws JaxmppException
JaxmppExceptionpublic void addCandidate(Candidate candidate) throws XMLException
XMLExceptionpublic List<Candidate> getCandidates() throws JaxmppException
JaxmppExceptionpublic String getDstAddr() throws XMLException
XMLExceptionpublic Transport.Mode getMode() throws XMLException
XMLExceptionpublic String getSid() throws XMLException
XMLExceptionCopyright © 2006–2018 Tigase. All rights reserved.