All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class VisiModel.Interface

java.lang.Object
   |
   +----VisiModel.Interface

public class Interface
extends Object
Class definition for a network interface on an IP/ATM end system.

Version:
$Revision: 1.9 $, $Date: 2000/10/12 14:09:13 $
Author:
John Cavanaugh, Mike Spengler, Joseph Thomas

Variable Index

 o addr
The address associated with the interface.
 o ADSL
 o APPLE_TALK_RAP
 o ARCNET
 o ARCNET_PLUS
 o ASYNC
 o ATM
 o ATM_AAL5
 o ATM_DXI
 o ATM_EM_8023
 o ATM_EM_8025
 o ATM_EM_CIRCUIT
 o ATM_FUNI
 o ATM_IMA
 o ATM_LOG_PORT
 o ATM_SUB
 o AVALON_PP
 o BSC
 o CATV_DWNSTRM
 o CATV_MAC
 o CATV_UPSTRM
 o CES
 o CHANNEL
 o CHANNEL_370
 o CLAW
 o COFFEE_POT
 o COMBAT_NET
 o DCN
 o DLS
 o DS0
 o DS0_GROUP
 o DS1
 o DS3
 o DTM
 o E1
 o ENC_INTF
 o EON
 o EPLRS
 o ETHERNET
 o ETHERNET_100FX
 o ETHERNET_100T
 o ETHERNET_100VG
 o ETHERNET_3MB
 o ETHERNET_GB
 o FAST_CHAN
 o FDDI
 o FIBRE_CHAN
 o FR
 o FR_MULTI
 o FRAME_RELAY_SVC
 o G703_64KB
 o HDH_1822
 o HDLC
 o HDLC_TRSP
 o HDSL
 o HIPPI
 o HIPPI_INTF
 o HSSI
 o HYPERCHANNEL
 o IBM_ENTERPRISE
 o INTLV_CHAN
 o IP
 o IP_ATM_IBM
 o IP_CDLC
 o IP_FWD_INTF
 o IP_MMM
 o IP_PWR
 o IP_SW
 o ISDN
 o ISDN_BRI
 o ISDN_PRI
 o ISDN_ST
 o ISDN_U
 o ISO_8025_CRFP
 o ISO_8025J
 o ISO_8025R
 o ISO_88022
 o ISO_88023
 o ISO_88024
 o ISO_88025
 o ISO_88026
 o LAPB
 o LAPD
 o LAPF
 o LOCAL_TALK
 o MODEM
 o MPCS
 o MYRINET
 o name
The name of the interface.
 o netmask
The netmask associated with the address
 o NSIP
 o OBSOLETE_FR
 o OBSOLETE_G702
 o OTHER
 o PARA
 o phyAddr
The physical address associated with the interface.
 o phyType
The physical interface type.
 o phyTypeNames
 o PPP
 o PPP_MULTI
 o PPP_SERIAL
 o PROP_MX
 o PROP_VIRTUAL
 o PROPRIETARY
 o PROTEON_10MB
 o PROTEON_80MB
 o RDSL
 o RFC_1822
 o RS_232
 o RSB
 o RSS_80211
 o S_TO_S
 o SDLC
 o SDSL
 o SIP
 o SLIP
 o SMDS_DXI
 o SMDS_ICIP
 o SNA_QLLC
 o SONET
 o SONET_PATH
 o SONET_VT
 o STAR_LAN
 o SW_LPBK
 o TDLC
 o ULTRA
 o V11
 o V35
 o V36
 o V37
 o VIPA
 o VLAN_L2_8021Q
 o VLAN_L3_IP
 o VLAN_L3_IPX
 o VOICE_EM
 o VOICE_ENC
 o VOICE_ENC_IP
 o VOICE_FXO
 o VOICE_FXS
 o X21
 o X213
 o X25
 o X25_DDN
 o X25_HUNT
 o X25_MIO
 o X25_MULTI
 o X25_PLE
 o X25_RFC877
 o X29_PAD
 o X3_PAD

Constructor Index

 o Interface(String, int, String, String, String)
Constructs an interface.

Method Index

 o getAddress()
Get the interface's address.
 o getIntfTypeString(int)
Get a string describing an interface's physical type.
 o getName()
Get the interface name.
 o getNetMask()
Get the interface's netmask
 o getPhyAddr()
Get the interface's physical address.
 o getPhyType()
Get the interface's type.
 o setAddr(String)
Set the interface's address.
 o setName(String)
Set the interface name.
 o setNetMask(String)
Set the interface's netmask
 o setPhyAddr(String)
Set the interface's physical address.
 o setPhyType(int)
Set the interface's type.
 o toString(int)
Get a string describing the interface.

Variables

 o name
 private String name
The name of the interface.

 o phyType
 private int phyType
The physical interface type.

 o addr
 private String addr
The address associated with the interface.

 o netmask
 private String netmask
The netmask associated with the address

 o phyAddr
 private String phyAddr
The physical address associated with the interface.

 o OTHER
 public static final int OTHER
 o RFC_1822
 public static final int RFC_1822
 o HDH_1822
 public static final int HDH_1822
 o X25_DDN
 public static final int X25_DDN
 o X25_RFC877
 public static final int X25_RFC877
 o ETHERNET
 public static final int ETHERNET
 o ISO_88023
 public static final int ISO_88023
 o ISO_88024
 public static final int ISO_88024
 o ISO_88025
 public static final int ISO_88025
 o ISO_88026
 public static final int ISO_88026
 o STAR_LAN
 public static final int STAR_LAN
 o PROTEON_10MB
 public static final int PROTEON_10MB
 o PROTEON_80MB
 public static final int PROTEON_80MB
 o HYPERCHANNEL
 public static final int HYPERCHANNEL
 o FDDI
 public static final int FDDI
 o LAPB
 public static final int LAPB
 o SDLC
 public static final int SDLC
 o DS1
 public static final int DS1
 o E1
 public static final int E1
 o ISDN_BRI
 public static final int ISDN_BRI
 o ISDN_PRI
 public static final int ISDN_PRI
 o PPP_SERIAL
 public static final int PPP_SERIAL
 o PPP
 public static final int PPP
 o SW_LPBK
 public static final int SW_LPBK
 o EON
 public static final int EON
 o ETHERNET_3MB
 public static final int ETHERNET_3MB
 o NSIP
 public static final int NSIP
 o SLIP
 public static final int SLIP
 o ULTRA
 public static final int ULTRA
 o DS3
 public static final int DS3
 o SIP
 public static final int SIP
 o FR
 public static final int FR
 o RS_232
 public static final int RS_232
 o PARA
 public static final int PARA
 o ARCNET
 public static final int ARCNET
 o ARCNET_PLUS
 public static final int ARCNET_PLUS
 o ATM
 public static final int ATM
 o X25_MIO
 public static final int X25_MIO
 o SONET
 public static final int SONET
 o X25_PLE
 public static final int X25_PLE
 o ISO_88022
 public static final int ISO_88022
 o LOCAL_TALK
 public static final int LOCAL_TALK
 o SMDS_DXI
 public static final int SMDS_DXI
 o FRAME_RELAY_SVC
 public static final int FRAME_RELAY_SVC
 o V35
 public static final int V35
 o HSSI
 public static final int HSSI
 o HIPPI
 public static final int HIPPI
 o MODEM
 public static final int MODEM
 o ATM_AAL5
 public static final int ATM_AAL5
 o SONET_PATH
 public static final int SONET_PATH
 o SONET_VT
 public static final int SONET_VT
 o SMDS_ICIP
 public static final int SMDS_ICIP
 o PROP_VIRTUAL
 public static final int PROP_VIRTUAL
 o PROP_MX
 public static final int PROP_MX
 o ETHERNET_100VG
 public static final int ETHERNET_100VG
 o FIBRE_CHAN
 public static final int FIBRE_CHAN
 o HIPPI_INTF
 public static final int HIPPI_INTF
 o OBSOLETE_FR
 public static final int OBSOLETE_FR
 o ATM_EM_8023
 public static final int ATM_EM_8023
 o ATM_EM_8025
 public static final int ATM_EM_8025
 o ATM_EM_CIRCUIT
 public static final int ATM_EM_CIRCUIT
 o ETHERNET_100T
 public static final int ETHERNET_100T
 o ISDN
 public static final int ISDN
 o X25
 public static final int X25
 o V11
 public static final int V11
 o X21
 public static final int X21
 o V36
 public static final int V36
 o G703_64KB
 public static final int G703_64KB
 o OBSOLETE_G702
 public static final int OBSOLETE_G702
 o SNA_QLLC
 public static final int SNA_QLLC
 o ETHERNET_100FX
 public static final int ETHERNET_100FX
 o CHANNEL
 public static final int CHANNEL
 o RSS_80211
 public static final int RSS_80211
 o CHANNEL_370
 public static final int CHANNEL_370
 o IBM_ENTERPRISE
 public static final int IBM_ENTERPRISE
 o DLS
 public static final int DLS
 o ISDN_ST
 public static final int ISDN_ST
 o ISDN_U
 public static final int ISDN_U
 o LAPD
 public static final int LAPD
 o IP_SW
 public static final int IP_SW
 o RSB
 public static final int RSB
 o ATM_LOG_PORT
 public static final int ATM_LOG_PORT
 o DS0
 public static final int DS0
 o DS0_GROUP
 public static final int DS0_GROUP
 o BSC
 public static final int BSC
 o ASYNC
 public static final int ASYNC
 o COMBAT_NET
 public static final int COMBAT_NET
 o ISO_8025R
 public static final int ISO_8025R
 o EPLRS
 public static final int EPLRS
 o APPLE_TALK_RAP
 public static final int APPLE_TALK_RAP
 o PROPRIETARY
 public static final int PROPRIETARY
 o X29_PAD
 public static final int X29_PAD
 o X3_PAD
 public static final int X3_PAD
 o FR_MULTI
 public static final int FR_MULTI
 o X213
 public static final int X213
 o ADSL
 public static final int ADSL
 o RDSL
 public static final int RDSL
 o SDSL
 public static final int SDSL
 o HDSL
 public static final int HDSL
 o ISO_8025_CRFP
 public static final int ISO_8025_CRFP
 o MYRINET
 public static final int MYRINET
 o VOICE_EM
 public static final int VOICE_EM
 o VOICE_FXO
 public static final int VOICE_FXO
 o VOICE_FXS
 public static final int VOICE_FXS
 o VOICE_ENC
 public static final int VOICE_ENC
 o VOICE_ENC_IP
 public static final int VOICE_ENC_IP
 o ATM_DXI
 public static final int ATM_DXI
 o ATM_FUNI
 public static final int ATM_FUNI
 o ATM_IMA
 public static final int ATM_IMA
 o PPP_MULTI
 public static final int PPP_MULTI
 o IP_CDLC
 public static final int IP_CDLC
 o CLAW
 public static final int CLAW
 o S_TO_S
 public static final int S_TO_S
 o VIPA
 public static final int VIPA
 o MPCS
 public static final int MPCS
 o IP_ATM_IBM
 public static final int IP_ATM_IBM
 o ISO_8025J
 public static final int ISO_8025J
 o TDLC
 public static final int TDLC
 o ETHERNET_GB
 public static final int ETHERNET_GB
 o HDLC
 public static final int HDLC
 o LAPF
 public static final int LAPF
 o V37
 public static final int V37
 o X25_MULTI
 public static final int X25_MULTI
 o X25_HUNT
 public static final int X25_HUNT
 o HDLC_TRSP
 public static final int HDLC_TRSP
 o INTLV_CHAN
 public static final int INTLV_CHAN
 o FAST_CHAN
 public static final int FAST_CHAN
 o IP
 public static final int IP
 o CATV_MAC
 public static final int CATV_MAC
 o CATV_DWNSTRM
 public static final int CATV_DWNSTRM
 o CATV_UPSTRM
 public static final int CATV_UPSTRM
 o AVALON_PP
 public static final int AVALON_PP
 o ENC_INTF
 public static final int ENC_INTF
 o COFFEE_POT
 public static final int COFFEE_POT
 o CES
 public static final int CES
 o ATM_SUB
 public static final int ATM_SUB
 o VLAN_L2_8021Q
 public static final int VLAN_L2_8021Q
 o VLAN_L3_IP
 public static final int VLAN_L3_IP
 o VLAN_L3_IPX
 public static final int VLAN_L3_IPX
 o IP_PWR
 public static final int IP_PWR
 o IP_MMM
 public static final int IP_MMM
 o DTM
 public static final int DTM
 o DCN
 public static final int DCN
 o IP_FWD_INTF
 public static final int IP_FWD_INTF
 o phyTypeNames
 private static final String phyTypeNames[]

Constructors

 o Interface
 public Interface(String name,
                  int type,
                  String addr,
                  String netmask,
                  String phyAddr)
Constructs an interface.

Parameters:
name - The name of the interface.
type - The interface's type.
addr - The address associated with the interface.
netmask - The netmask associated with the address. # @param phyAddr The physical address associated with the interface.

Methods

 o getName
 public String getName()
Get the interface name.

Returns:
A string with the interface's name.
 o setName
 public void setName(String name)
Set the interface name.

Parameters:
name - The interface's name.
 o getPhyType
 public int getPhyType()
Get the interface's type.

Returns:
The type of the physical interface.
 o setPhyType
 public void setPhyType(int type)
Set the interface's type.

Parameters:
type - The type of the physical interface.
 o getAddress
 public String getAddress()
Get the interface's address.

Returns:
A String Address with the address associated with the interface.
 o setAddr
 public void setAddr(String addr)
Set the interface's address.

Parameters:
addr - The address associated with the interface.
 o getNetMask
 public String getNetMask()
Get the interface's netmask

Returns:
A String Netmask with the netmask associated with the interface address
 o setNetMask
 public void setNetMask(String netmask)
Set the interface's netmask

Parameters:
netmask - The netmask associated with the interface's address
 o getPhyAddr
 public String getPhyAddr()
Get the interface's physical address.

Returns:
A String Address with the physical address associated with the interface.
 o setPhyAddr
 public void setPhyAddr(String phyAddr)
Set the interface's physical address.

Parameters:
phyAddr - The physical address associated with the interface.
 o getIntfTypeString
 public static String getIntfTypeString(int type)
Get a string describing an interface's physical type.

Parameters:
type - The type of the interface.
Returns:
A string with the interface's type.
 o toString
 public String toString(int type)
Get a string describing the interface.

Returns:
A string describing the interface object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index