org.jivesoftware.smackx.packet
Class IBBExtensions.Open
java.lang.Object
org.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.packet.IBBExtensions.Open
- Enclosing class:
- IBBExtensions
public static class IBBExtensions.Open
- extends IQ
Represents a request to open the file transfer.
- Author:
- Alexander Wenckus
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
IQ.Type |
Methods inherited from class org.jivesoftware.smack.packet.Packet |
addExtension, deleteProperty, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, removeExtension, setError, setFrom, setPacketID, setProperty, setTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
IBBExtensions.Open
public IBBExtensions.Open(String sid,
int blockSize)
- Constructs an open packet.
- Parameters:
sid
- The streamID of the file transfer.blockSize
- The block size of the file transfer.
getBlockSize
public int getBlockSize()
- The size blocks in which the data will be sent.
- Returns:
- The size blocks in which the data will be sent.
getElementName
public String getElementName()
getChildElementXML
public String getChildElementXML()
- Description copied from class:
IQ
- Returns the sub-element XML section of the IQ packet, or null if there
isn't one. Packet extensions must be included, if any are defined.
Extensions of this class must override this method.
- Specified by:
getChildElementXML
in class IQ
- Returns:
- the child element section of the IQ XML.
Copyright © 2003-2007 Jive Software.