Fixed building of models, moved code into directory structure.
[packetcable.git] / protocol_plugins.packetcable / src / main / java / org / umu / cops / stack / COPSIpv6OutInterface.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 java.io.IOException;\r
10 import java.net.Socket;\r
11 \r
12 /**\r
13  * COPS IPv6 Output Interface\r
14  *\r
15  * @version COPSIpv6OutInterface.java, v 1.00 2003\r
16  *\r
17  */\r
18 public class COPSIpv6OutInterface extends COPSIpv6Interface {\r
19     public COPSIpv6OutInterface() {\r
20         _objHdr = new COPSObjHeader();\r
21         _objHdr.setCNum(COPSObjHeader.COPS_ININTF);\r
22     }\r
23 \r
24     public COPSIpv6OutInterface(byte[] dataPtr) {\r
25         super(dataPtr);\r
26     }\r
27 \r
28     /**\r
29      * Method className\r
30      *\r
31      * @return   a String\r
32      *\r
33      */\r
34     public String className() {\r
35         return "COPSIpv6OutInterface";\r
36     }\r
37 \r
38     /**\r
39      * Method isInInterface\r
40      *\r
41      * @return   a boolean\r
42      *\r
43      */\r
44     public boolean isInInterface() {\r
45         return true;\r
46     }\r
47 \r
48     /**\r
49      * Writes data to given socket\r
50      *\r
51      * @param    id                  a  Socket\r
52      *\r
53      * @throws   IOException\r
54      *\r
55      */\r
56     public void writeData(Socket id) throws IOException {\r
57     }\r
58 \r
59 }\r