Class EndSysIntf

java.lang.Object
   |
   +----CollectorUpdate
           |
           +----EndSysIntf

public class EndSysIntf
extends CollectorUpdate
Class defining the collector's definition of an EndSystem interface.

Version:
$Revision: 1.11 $, $Date: 2000/10/12 14:09:46 $
Author:
Mike Spengler, Joseph Thomas

Variable Index

 o name
Interface name
 o netAddr
Interface's network layer address
 o netMask
Interface's network netmask
 o phy
Interface's physical type (see Interface for possible values)
 o phyAddr
Interface's physical layer address

Constructor Index

 o EndSysIntf(NodeAddress, String, int, NodeAddress, String, String)
Class constructor.

Method Index

 o getName()
Gets the interface name
 o getNetAddr()
Gets the interface's network address
 o getNetMask()
Gets the interface's network netmask
 o getPhy()
Gets the interface's physical type
 o getPhyAddr()
Gets the interface's physical address
 o process(CollectorNetwork)
Applies this update object to the network model.
 o toString()
Returns a string describing this object.

Variables

 o name
 private String name
Interface name

 o phy
 private int phy
Interface's physical type (see Interface for possible values)

 o netAddr
 private NodeAddress netAddr
Interface's network layer address

 o netMask
 private String netMask
Interface's network netmask

 o phyAddr
 private String phyAddr
Interface's physical layer address

Constructors

 o EndSysIntf
 public EndSysIntf(NodeAddress addr,
                   String name,
                   int phy,
                   NodeAddress netAddr,
                   String netMask,
                   String phyAddr)
Class constructor.

Parameters:
addr - the address of the node from which the data for this update was obtained
name - interface name
phy - interface physical type
netAddr - interface network address
netMask - interface netmask for network address
phyAddr - interface physical address

Methods

 o process
 public void process(CollectorNetwork net)
Applies this update object to the network model.

Parameters:
net - the network which this object updates
Overrides:
process in class CollectorUpdate
 o getName
 public String getName()
Gets the interface name

Returns:
the interface name
 o getPhy
 public int getPhy()
Gets the interface's physical type

Returns:
the interface's physical type
 o getNetAddr
 public NodeAddress getNetAddr()
Gets the interface's network address

Returns:
the interface's network address
 o getNetMask
 public String getNetMask()
Gets the interface's network netmask

Returns:
the interface's netmask for the network address
 o getPhyAddr
 public String getPhyAddr()
Gets the interface's physical address

Returns:
the interface's physical address
 o toString
 public String toString()
Returns a string describing this object.

Returns:
string describing this object
Overrides:
toString in class Object