org.xnap.plugin.opennap.net
Class Packet

java.lang.Object
  extended by org.xnap.plugin.opennap.net.Packet

public class Packet
extends java.lang.Object

This class provides a data container for a packet received from a server.


Field Summary
 java.lang.String data
           
 int id
           
 
Constructor Summary
Packet(int id, java.lang.String data)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public int id

data

public java.lang.String data
Constructor Detail

Packet

public Packet(int id,
              java.lang.String data)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2005 XNap Team. All Rights Reserved.