Class JingleS5BTransport
java.lang.Object
org.jivesoftware.smackx.jingle.element.JingleContentTransport
org.jivesoftware.smackx.jingle.transports.jingle_s5b.elements.JingleS5BTransport
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
Socks5Bytestream transport element.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final QName
Fields inherited from class org.jivesoftware.smackx.jingle.element.JingleContentTransport
candidates, ELEMENT, info
-
Constructor Summary
ModifierConstructorDescriptionprotected
JingleS5BTransport
(List<JingleContentTransportCandidate> candidates, JingleContentTransportInfo info, String streamId, String dstAddr, Bytestream.Mode mode) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
static JingleS5BTransport.Builder
getCandidate
(String candidateId) getMode()
Returns the root element XML namespace.boolean
hasCandidate
(String candidateId) Methods inherited from class org.jivesoftware.smackx.jingle.element.JingleContentTransport
getCandidates, getElementName, getInfo, toXML
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.NamedElement
getElementName
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
NAMESPACE_V1
- See Also:
-
ATTR_DSTADDR
- See Also:
-
ATTR_MODE
- See Also:
-
ATTR_SID
- See Also:
-
QNAME
-
-
Constructor Details
-
JingleS5BTransport
protected JingleS5BTransport(List<JingleContentTransportCandidate> candidates, JingleContentTransportInfo info, String streamId, String dstAddr, Bytestream.Mode mode)
-
-
Method Details
-
getStreamId
-
getDestinationAddress
-
getMode
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
addExtraAttributes
- Overrides:
addExtraAttributes
in classJingleContentTransport
-
hasCandidate
-
getCandidate
-
getBuilder
-