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
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class JingleIBBTransport extends JingleContentTransport
Transport Element for JingleInBandBytestream transports.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_BLOCK_SIZE
static java.lang.String
ATTR_SID
static short
DEFAULT_BLOCK_SIZE
static java.lang.String
NAMESPACE_V1
-
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, java.lang.String sid)
JingleIBBTransport(java.lang.String sid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addExtraAttributes(XmlStringBuilder xml)
boolean
equals(java.lang.Object other)
short
getBlockSize()
java.lang.String
getNamespace()
Returns the root element XML namespace.java.lang.String
getSessionId()
int
hashCode()
-
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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
NAMESPACE_V1
public static final java.lang.String NAMESPACE_V1
- See Also:
- Constant Field Values
-
ATTR_BLOCK_SIZE
public static final java.lang.String ATTR_BLOCK_SIZE
- See Also:
- Constant Field Values
-
ATTR_SID
public static final java.lang.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(java.lang.String sid)
-
JingleIBBTransport
public JingleIBBTransport(short blockSize)
-
JingleIBBTransport
public JingleIBBTransport(short blockSize, java.lang.String sid)
-
-
Method Detail
-
getSessionId
public java.lang.String getSessionId()
-
getBlockSize
public short getBlockSize()
-
addExtraAttributes
protected void addExtraAttributes(XmlStringBuilder xml)
- Overrides:
addExtraAttributes
in classJingleContentTransport
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Returns:
- the namespace.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-