1 2 3 4 5 6 7 8 9 10 11 12 13 14
package packet; /** * Interface for Packet datatype. * @author seojin * */ public interface Packet { /** * Return text form packet that can be sent throgh socket. * @return text form packet */ public String packetToText(); }