org.jabber.jabberbeans
Interface Packet

All Known Implementing Classes:
ContentPacket, XMLStreamError, XMLStreamHeader, DefaultExtension, KeepAlive.KeepAlivePacket, Log, Handshake

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.

Version:
$Revision: 1.1.1.1 $
Author:
David Waite <dwaite@jabber.com>, $Author: lucky $

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()
           
 

Method Detail

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