Start of the COPS message refactoring to make all of these classes more semantic...
[packetcable.git] / packetcable-driver / src / main / java / org / umu / cops / stack / COPSIpv6InInterface.java
1 /*\r
2  * Copyright (c) 2003 University of Murcia.  All rights reserved.\r
3  * --------------------------------------------------------------\r
4  * For more information, please see <http://www.umu.euro6ix.org/>.\r
5  */\r
6 \r
7 package org.umu.cops.stack;\r
8 \r
9 import org.umu.cops.stack.COPSObjHeader.CNum;\r
10 import org.umu.cops.stack.COPSObjHeader.CType;\r
11 \r
12 import java.io.IOException;\r
13 import java.net.Socket;\r
14 \r
15 /**\r
16  * COPS IPv6 Input Interface\r
17  *\r
18  * @version COPSIpv6InInterface.java, v 1.00 2003\r
19  *\r
20  */\r
21 public class COPSIpv6InInterface extends COPSIpv6Interface {\r
22     public COPSIpv6InInterface() {\r
23         super(new COPSObjHeader(CNum.ININTF, CType.STATELESS));\r
24     }\r
25 \r
26     public COPSIpv6InInterface(byte[] dataPtr) {\r
27         super(dataPtr);\r
28     }\r
29 \r
30     /**\r
31      * Method className\r
32      *\r
33      * @return   a String\r
34      *\r
35      */\r
36     public String className() {\r
37         return "COPSIpv6InInterface";\r
38     }\r
39 \r
40     /**\r
41      * Method isInInterface\r
42      *\r
43      * @return   a boolean\r
44      *\r
45      */\r
46     public boolean isInInterface() {\r
47         return true;\r
48     }\r
49 \r
50     /**\r
51      * Writes data to given socket\r
52      *\r
53      * @param    id                  a  Socket\r
54      *\r
55      * @throws   IOException\r
56      *\r
57      */\r
58     public void writeData(Socket id) throws IOException {\r
59     }\r
60 }\r
61 \r
62 \r