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
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class JingleS5BTransport extends JingleContentTransport
Socks5Bytestream transport element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JingleS5BTransport.Builder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_DSTADDR
static java.lang.String
ATTR_MODE
static java.lang.String
ATTR_SID
static java.lang.String
NAMESPACE_V1
-
Fields inherited from class org.jivesoftware.smackx.jingle.element.JingleContentTransport
candidates, ELEMENT, info
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JingleS5BTransport(java.util.List<JingleContentTransportCandidate> candidates, JingleContentTransportInfo info, java.lang.String streamId, java.lang.String dstAddr, Bytestream.Mode mode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addExtraAttributes(XmlStringBuilder xml)
static JingleS5BTransport.Builder
getBuilder()
JingleS5BTransportCandidate
getCandidate(java.lang.String candidateId)
java.lang.String
getDestinationAddress()
Bytestream.Mode
getMode()
java.lang.String
getNamespace()
Returns the root element XML namespace.java.lang.String
getStreamId()
boolean
hasCandidate(java.lang.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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
NAMESPACE_V1
public static final java.lang.String NAMESPACE_V1
- See Also:
- Constant Field Values
-
ATTR_DSTADDR
public static final java.lang.String ATTR_DSTADDR
- See Also:
- Constant Field Values
-
ATTR_MODE
public static final java.lang.String ATTR_MODE
- See Also:
- Constant Field Values
-
ATTR_SID
public static final java.lang.String ATTR_SID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JingleS5BTransport
protected JingleS5BTransport(java.util.List<JingleContentTransportCandidate> candidates, JingleContentTransportInfo info, java.lang.String streamId, java.lang.String dstAddr, Bytestream.Mode mode)
-
-
Method Detail
-
getStreamId
public java.lang.String getStreamId()
-
getDestinationAddress
public java.lang.String getDestinationAddress()
-
getMode
public Bytestream.Mode getMode()
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Returns:
- the namespace.
-
addExtraAttributes
protected void addExtraAttributes(XmlStringBuilder xml)
- Overrides:
addExtraAttributes
in classJingleContentTransport
-
hasCandidate
public boolean hasCandidate(java.lang.String candidateId)
-
getCandidate
public JingleS5BTransportCandidate getCandidate(java.lang.String candidateId)
-
getBuilder
public static JingleS5BTransport.Builder getBuilder()
-
-