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
7 package org.umu.cops.stack;
\r
9 import org.umu.cops.stack.COPSObjHeader.CNum;
\r
10 import org.umu.cops.stack.COPSObjHeader.CType;
\r
12 import java.io.IOException;
\r
13 import java.net.Socket;
\r
16 * COPS IPv6 Input Interface
\r
18 * @version COPSIpv6InInterface.java, v 1.00 2003
\r
21 public class COPSIpv6InInterface extends COPSIpv6Interface {
\r
22 public COPSIpv6InInterface() {
\r
23 super(new COPSObjHeader(CNum.ININTF, CType.STATELESS));
\r
26 public COPSIpv6InInterface(byte[] dataPtr) {
\r
36 public String className() {
\r
37 return "COPSIpv6InInterface";
\r
41 * Method isInInterface
\r
46 public boolean isInInterface() {
\r
51 * Writes data to given socket
\r
53 * @param id a Socket
\r
55 * @throws IOException
\r
58 public void writeData(Socket id) throws IOException {
\r