org.jabber.jabberbeans
Interface Packet
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ContentPacket, DefaultExtension, Handshake, KeepAlive.KeepAlivePacket, Log, XMLStreamError, XMLStreamHeader
- public interface Packet
- extends java.io.Serializable
A packet is a single unit of information to be sent (or received) from the
server. Two examples of packets currently 'known' are IQ and Message.
Method Summary |
void |
appendItem(java.lang.StringBuffer retval)
appendItem appends the XML representation of the
current packet data to the specified StringBuffer . |
java.lang.String |
toString()
|
appendItem
public void appendItem(java.lang.StringBuffer retval)
appendItem
appends the XML representation of the
current packet data to the specified StringBuffer
.
- Parameters:
retval
- The StringBuffer
to append to
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object