Class JingleS5BTransportCandidate
- java.lang.Object
-
- org.jivesoftware.smackx.jingle.element.JingleContentTransportCandidate
-
- org.jivesoftware.smackx.jingle.transports.jingle_s5b.elements.JingleS5BTransportCandidate
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public final class JingleS5BTransportCandidate extends JingleContentTransportCandidate
TransportCandidate for Jingle Socks5Bytestream transports.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JingleS5BTransportCandidate.Builder
static class
JingleS5BTransportCandidate.Type
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_CID
static java.lang.String
ATTR_HOST
static java.lang.String
ATTR_JID
static java.lang.String
ATTR_PORT
static java.lang.String
ATTR_PRIORITY
static java.lang.String
ATTR_TYPE
static java.lang.String
NAMESPACE
-
Fields inherited from class org.jivesoftware.smackx.jingle.element.JingleContentTransportCandidate
ELEMENT
-
-
Constructor Summary
Constructors Constructor Description JingleS5BTransportCandidate(java.lang.String candidateId, java.lang.String hostString, Jid jid, int port, int priority, JingleS5BTransportCandidate.Type type)
JingleS5BTransportCandidate(java.lang.String candidateId, InternetAddress host, Jid jid, int port, int priority, JingleS5BTransportCandidate.Type type)
JingleS5BTransportCandidate(Bytestream.StreamHost streamHost, int priority, JingleS5BTransportCandidate.Type type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JingleS5BTransportCandidate.Builder
getBuilder()
java.lang.String
getCandidateId()
InternetAddress
getHost()
Jid
getJid()
java.lang.String
getNamespace()
Returns the root element XML namespace.int
getPort()
int
getPriority()
Bytestream.StreamHost
getStreamHost()
JingleS5BTransportCandidate.Type
getType()
XmlStringBuilder
toXML(XmlEnvironment enclosingXmlEnvironment)
-
Methods inherited from class org.jivesoftware.smackx.jingle.element.JingleContentTransportCandidate
getElementName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
ATTR_CID
public static final java.lang.String ATTR_CID
- See Also:
- Constant Field Values
-
ATTR_HOST
public static final java.lang.String ATTR_HOST
- See Also:
- Constant Field Values
-
ATTR_JID
public static final java.lang.String ATTR_JID
- See Also:
- Constant Field Values
-
ATTR_PORT
public static final java.lang.String ATTR_PORT
- See Also:
- Constant Field Values
-
ATTR_PRIORITY
public static final java.lang.String ATTR_PRIORITY
- See Also:
- Constant Field Values
-
ATTR_TYPE
public static final java.lang.String ATTR_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JingleS5BTransportCandidate
public JingleS5BTransportCandidate(java.lang.String candidateId, java.lang.String hostString, Jid jid, int port, int priority, JingleS5BTransportCandidate.Type type)
-
JingleS5BTransportCandidate
public JingleS5BTransportCandidate(java.lang.String candidateId, InternetAddress host, Jid jid, int port, int priority, JingleS5BTransportCandidate.Type type)
-
JingleS5BTransportCandidate
public JingleS5BTransportCandidate(Bytestream.StreamHost streamHost, int priority, JingleS5BTransportCandidate.Type type)
-
-
Method Detail
-
getCandidateId
public java.lang.String getCandidateId()
-
getHost
public InternetAddress getHost()
-
getPort
public int getPort()
-
getPriority
public int getPriority()
-
getType
public JingleS5BTransportCandidate.Type getType()
-
getStreamHost
public Bytestream.StreamHost getStreamHost()
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Returns:
- the namespace.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingXmlEnvironment)
-
getBuilder
public static JingleS5BTransportCandidate.Builder getBuilder()
-
-