Class JingleS5BTransportCandidate
- java.lang.Object
-
- org.jivesoftware.smackx.jingle.element.JingleContentTransportCandidate
-
- org.jivesoftware.smackx.jingle.transports.jingle_s5b.elements.JingleS5BTransportCandidate
-
- All Implemented Interfaces:
Element,NamedElement,XmlElement,XmlLangElement
public final class JingleS5BTransportCandidate extends JingleContentTransportCandidate
TransportCandidate for Jingle Socks5Bytestream transports.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJingleS5BTransportCandidate.Builderstatic classJingleS5BTransportCandidate.Type
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_CIDstatic StringATTR_HOSTstatic StringATTR_JIDstatic StringATTR_PORTstatic StringATTR_PRIORITYstatic StringATTR_TYPEstatic StringNAMESPACE-
Fields inherited from class org.jivesoftware.smackx.jingle.element.JingleContentTransportCandidate
ELEMENT
-
-
Constructor Summary
Constructors Constructor Description JingleS5BTransportCandidate(String candidateId, String hostString, Jid jid, int port, int priority, JingleS5BTransportCandidate.Type type)JingleS5BTransportCandidate(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.BuildergetBuilder()StringgetCandidateId()InternetAddressgetHost()JidgetJid()StringgetNamespace()Returns the root element XML namespace.intgetPort()intgetPriority()Bytestream.StreamHostgetStreamHost()JingleS5BTransportCandidate.TypegetType()XmlStringBuildertoXML(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.XmlElement
getLanguage, getQName
-
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
ATTR_CID
public static final String ATTR_CID
- See Also:
- Constant Field Values
-
ATTR_HOST
public static final String ATTR_HOST
- See Also:
- Constant Field Values
-
ATTR_JID
public static final String ATTR_JID
- See Also:
- Constant Field Values
-
ATTR_PORT
public static final String ATTR_PORT
- See Also:
- Constant Field Values
-
ATTR_PRIORITY
public static final String ATTR_PRIORITY
- See Also:
- Constant Field Values
-
ATTR_TYPE
public static final String ATTR_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JingleS5BTransportCandidate
public JingleS5BTransportCandidate(String candidateId, String hostString, Jid jid, int port, int priority, JingleS5BTransportCandidate.Type type)
-
JingleS5BTransportCandidate
public JingleS5BTransportCandidate(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 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 String getNamespace()
Description copied from interface:XmlElementReturns the root element XML namespace.- Returns:
- the namespace.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingXmlEnvironment)
-
getBuilder
public static JingleS5BTransportCandidate.Builder getBuilder()
-
-