Class JingleIBBTransport
- java.lang.Object
-
- org.jivesoftware.smackx.jingle.element.JingleContentTransport
-
- org.jivesoftware.smackx.jingle.transports.jingle_ibb.element.JingleIBBTransport
-
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
public class JingleIBBTransport extends JingleContentTransport implements ExtensionElement
Transport Element for JingleInBandBytestream transports.
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_BLOCK_SIZEstatic StringATTR_SIDstatic shortDEFAULT_BLOCK_SIZEstatic StringNAMESPACE_V1static QNameQNAME-
Fields inherited from class org.jivesoftware.smackx.jingle.element.JingleContentTransport
candidates, ELEMENT, info
-
-
Constructor Summary
Constructors Constructor Description JingleIBBTransport()JingleIBBTransport(short blockSize)JingleIBBTransport(short blockSize, String sid)JingleIBBTransport(String sid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddExtraAttributes(XmlStringBuilder xml)booleanequals(Object other)shortgetBlockSize()StringgetNamespace()Returns the root element XML namespace.StringgetSessionId()inthashCode()-
Methods inherited from class org.jivesoftware.smackx.jingle.element.JingleContentTransport
getCandidates, getElementName, getInfo, toXML
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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 Detail
-
NAMESPACE_V1
public static final String NAMESPACE_V1
- See Also:
- Constant Field Values
-
ATTR_BLOCK_SIZE
public static final String ATTR_BLOCK_SIZE
- See Also:
- Constant Field Values
-
ATTR_SID
public static final String ATTR_SID
- See Also:
- Constant Field Values
-
DEFAULT_BLOCK_SIZE
public static final short DEFAULT_BLOCK_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JingleIBBTransport
public JingleIBBTransport()
-
JingleIBBTransport
public JingleIBBTransport(String sid)
-
JingleIBBTransport
public JingleIBBTransport(short blockSize)
-
JingleIBBTransport
public JingleIBBTransport(short blockSize, String sid)
-
-
Method Detail
-
getSessionId
public String getSessionId()
-
getBlockSize
public short getBlockSize()
-
addExtraAttributes
protected void addExtraAttributes(XmlStringBuilder xml)
- Overrides:
addExtraAttributesin classJingleContentTransport
-
getNamespace
public String getNamespace()
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
-