8c658671150c6cb8900581ad0542e977ffa5d172
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / base / IPCMMBaseObject.java
1 /*
2  * (c) 2015 Cable Television Laboratories, Inc.  All rights reserved.
3  */
4
5 package org.pcmm.base;
6
7 import java.io.IOException;
8 import java.net.Socket;
9
10 /**
11  * Base interface for all PCMM objects, it define the {@code S-Type},
12  * {@code S-Num} and the data length
13  * 
14  */
15 public interface IPCMMBaseObject {
16
17     void writeData(Socket id) throws IOException;
18
19 //    short getDataLen();
20
21         byte[] getAsBinaryArray();
22
23 }