7 import java.io.IOException;
8 import java.net.Socket;
10 import org.umu.cops.stack.COPSData;
13 * Base interface for all PCMM objects, it define the {@code S-Type},
14 * {@code S-Num} and the data length
17 public interface IPCMMBaseObject {
24 void setSType(byte stype);
38 void setSNum(byte snum);
52 void setLength(short len);
67 void setData(COPSData data);
76 void writeData(Socket id) throws IOException;
78 byte[] getAsBinaryArray();