Add missing license headers to packetcable-driver base
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / base / IPCMMBaseObject.java
1 /*
2  * Copyright (c) 2014, 2015 Cable Television Laboratories, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.pcmm.base;
10
11 import java.io.IOException;
12 import java.net.Socket;
13
14 /**
15  * Base interface for all PCMM objects, it define the {@code S-Type},
16  * {@code S-Num} and the data length
17  *
18  */
19 public interface IPCMMBaseObject {
20
21     void writeData(Socket id) throws IOException;
22
23 //    short getDataLen();
24
25         byte[] getAsBinaryArray();
26
27 }