|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.packet.IBBExtensions.Data
public static class IBBExtensions.Data
A data packet containing a portion of the file being sent encoded in base64.
| Field Summary | |
|---|---|
static String |
ELEMENT_NAME
|
| Constructor Summary | |
|---|---|
IBBExtensions.Data(String sid)
A constructor. |
|
IBBExtensions.Data(String sid,
long seq,
String data)
|
|
| Method Summary | |
|---|---|
String |
getData()
Returns the data contained in this packet. |
String |
getElementName()
Returns the root element name. |
String |
getNamespace()
Returns the root element XML namespace. |
long |
getSeq()
Returns the sequence of this packet in regard to the other data packets. |
String |
getSessionID()
Returns the unique stream ID identifying this file transfer. |
void |
setData(String data)
Sets the data contained in this packet. |
void |
setSeq(long seq)
Sets the sequence of this packet. |
String |
toXML()
Returns the XML reppresentation of the PacketExtension. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
| Constructor Detail |
|---|
public IBBExtensions.Data(String sid)
sid - The stream ID.
public IBBExtensions.Data(String sid,
long seq,
String data)
| Method Detail |
|---|
public String getSessionID()
public String getNamespace()
PacketExtension
getNamespace in interface PacketExtensionpublic String getElementName()
PacketExtension
getElementName in interface PacketExtensionpublic String getData()
public void setData(String data)
data - The data encoded in base65public long getSeq()
public void setSeq(long seq)
seq - A number between 0 and 65535public String toXML()
PacketExtension
toXML in interface PacketExtension
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||