    001    package net.minecraft.src;
    002
    003    import java.io.DataInputStream;
    004    import java.io.DataOutputStream;
    005    import java.io.IOException;
    006
    007    public class Packet254ServerPing extends Packet
    008    {
    009        /**
    010         * Abstract. Reads the raw packet data from the data stream.
    011         */
    012        public void readPacketData(DataInputStream par1DataInputStream) throws IOException {}
    013
    014        /**
    015         * Abstract. Writes the raw packet data to the data stream.
    016         */
    017        public void writePacketData(DataOutputStream par1DataOutputStream) throws IOException {}
    018
    019        /**
    020         * Passes this Packet on to the NetHandler for processing.
    021         */
    022        public void processPacket(NetHandler par1NetHandler)
    023        {
    024            par1NetHandler.handleServerPing(this);
    025        }
    026
    027        /**
    028         * Abstract. Return the size of the packet (not counting the header).
    029         */
    030        public int getPacketSize()
    031        {
    032            return 0;
    033        }
    034    }