/*
 * Copyright (C) 2014 The TridentSDK Team
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package net.tridentsdk.server.netty.packet;

import io.netty.buffer.ByteBuf;

public interface Packet {

    Packet decode(ByteBuf buf);

    ByteBuf encode();

    PacketType getType();
}

@@ -774,90 +774,694 @@
 f;%0A%0A
-public interface Packet %7B%0A%0A    Packet decode(ByteBuf buf);%0A%0A    ByteBuf encode();%0A
+/**%0A * Data bearing abstraction that represents a piece of information to communicate between server and client%0A *%0A * @author The TridentSDK Team%0A */%0Apublic interface Packet %7B%0A    /**%0A     * Sets the fields of the packet from the data serialized into the buffer%0A     *%0A     * @param buf the buffer storing the serialized packet data%0A     * @return the this instance of the packet%0A     */%0A    Packet decode(ByteBuf buf);%0A%0A    /**%0A     * Serialized the data held by this packet to a ByteBuf%0A     *%0A     * @return the serialized form of the packet%0A     */%0A    ByteBuf encode();%0A%0A    /**%0A     * The packet type represented by the implementation%0A     *%0A     * @return the packet type%0A     */
 %0A   

Update Packet.java