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
-
name
- Interface name
-
netAddr
- Interface's network layer address
-
netMask
- Interface's network netmask
-
phy
- Interface's physical type (see Interface for possible values)
-
phyAddr
- Interface's physical layer address
-
EndSysIntf(NodeAddress, String, int, NodeAddress, String, String)
- Class constructor.
-
getName()
- Gets the interface name
-
getNetAddr()
- Gets the interface's network address
-
getNetMask()
- Gets the interface's network netmask
-
getPhy()
- Gets the interface's physical type
-
getPhyAddr()
- Gets the interface's physical address
-
process(CollectorNetwork)
- Applies this update object to the network model.
-
toString()
- Returns a string describing this object.
name
private String name
- Interface name
phy
private int phy
- Interface's physical type (see Interface for possible values)
netAddr
private NodeAddress netAddr
- Interface's network layer address
netMask
private String netMask
- Interface's network netmask
phyAddr
private String phyAddr
- Interface's physical layer address
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
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
getName
public String getName()
- Gets the interface name
- Returns:
- the interface name
getPhy
public int getPhy()
- Gets the interface's physical type
- Returns:
- the interface's physical type
getNetAddr
public NodeAddress getNetAddr()
- Gets the interface's network address
- Returns:
- the interface's network address
getNetMask
public String getNetMask()
- Gets the interface's network netmask
- Returns:
- the interface's netmask for the network
address
getPhyAddr
public String getPhyAddr()
- Gets the interface's physical address
- Returns:
- the interface's physical address
toString
public String toString()
- Returns a string describing this object.
- Returns:
- string describing this object
- Overrides:
- toString in class Object