DRCL J-Sim API

drcl.inet.protocol.ospf
Class OSPF_Interface

java.lang.Object
  extended bydrcl.inet.protocol.ospf.OSPF_Interface

public class OSPF_Interface
extends java.lang.Object

An OSPF interface is the connection between a router and a network. One or more router adjacencies may develop over an interface. A router's LSAs reflect the state of its interfaces and their associated adjacencies.

ref: sec 9

Author:
Wei-peng Chen
See Also:
OSPF, OSPF_Neighbor, OSPF_TimeOut_EVT

Method Summary
 java.lang.String info(java.lang.String prefix_)
           
static OSPF_Interface ospf_interface_create(int if_index, int type_, int mtu_, OSPF_Area area_, Port out_)
          Constructor: Create new ospf6 interface structure In our implementation, this function is called when OSPF receives NEIGHBOR_UP event so that the state of interface is UP
 void reset()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()

info

public java.lang.String info(java.lang.String prefix_)

reset

public void reset()

ospf_interface_create

public static OSPF_Interface ospf_interface_create(int if_index,
                                                   int type_,
                                                   int mtu_,
                                                   OSPF_Area area_,
                                                   Port out_)
Constructor: Create new ospf6 interface structure In our implementation, this function is called when OSPF receives NEIGHBOR_UP event so that the state of interface is UP


DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~