package csx55.overlay.wireformats; import java.io.IOException; //An interface that is implemented by all wireformats public interface Event { public int getType();//return event type public byte[] getBytes() throws IOException;//marshall }