Source code: org/jabber/jabberbeans/Packet.java
1 package org.jabber.jabberbeans;
2
3 /**
4 * a packet is a single unit of information to be sent (or received) from the
5 * server. The two types of packets currently 'known' are IQ and Message.
6 *
7 * @author David Waite <a href="mailto:mass@ufl.edu"><i><mass@ufl.edu>
8 * </i></a>
9 * @author $Author: mass $
10 * @version $Revision: 1.2 $
11 */
12 public abstract class Packet
13 {
14 /**
15 * toString for this class is a serializer for the data contained in the
16 * object to an equivalent snippet of XML stream.
17 *
18 * @return a <code>String</code> value which contains the XML
19 * representation of this object
20 */
21 public abstract String toString();
22
23 }