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
-
addr
- The address associated with the interface.
-
ADSL
-
-
APPLE_TALK_RAP
-
-
ARCNET
-
-
ARCNET_PLUS
-
-
ASYNC
-
-
ATM
-
-
ATM_AAL5
-
-
ATM_DXI
-
-
ATM_EM_8023
-
-
ATM_EM_8025
-
-
ATM_EM_CIRCUIT
-
-
ATM_FUNI
-
-
ATM_IMA
-
-
ATM_LOG_PORT
-
-
ATM_SUB
-
-
AVALON_PP
-
-
BSC
-
-
CATV_DWNSTRM
-
-
CATV_MAC
-
-
CATV_UPSTRM
-
-
CES
-
-
CHANNEL
-
-
CHANNEL_370
-
-
CLAW
-
-
COFFEE_POT
-
-
COMBAT_NET
-
-
DCN
-
-
DLS
-
-
DS0
-
-
DS0_GROUP
-
-
DS1
-
-
DS3
-
-
DTM
-
-
E1
-
-
ENC_INTF
-
-
EON
-
-
EPLRS
-
-
ETHERNET
-
-
ETHERNET_100FX
-
-
ETHERNET_100T
-
-
ETHERNET_100VG
-
-
ETHERNET_3MB
-
-
ETHERNET_GB
-
-
FAST_CHAN
-
-
FDDI
-
-
FIBRE_CHAN
-
-
FR
-
-
FR_MULTI
-
-
FRAME_RELAY_SVC
-
-
G703_64KB
-
-
HDH_1822
-
-
HDLC
-
-
HDLC_TRSP
-
-
HDSL
-
-
HIPPI
-
-
HIPPI_INTF
-
-
HSSI
-
-
HYPERCHANNEL
-
-
IBM_ENTERPRISE
-
-
INTLV_CHAN
-
-
IP
-
-
IP_ATM_IBM
-
-
IP_CDLC
-
-
IP_FWD_INTF
-
-
IP_MMM
-
-
IP_PWR
-
-
IP_SW
-
-
ISDN
-
-
ISDN_BRI
-
-
ISDN_PRI
-
-
ISDN_ST
-
-
ISDN_U
-
-
ISO_8025_CRFP
-
-
ISO_8025J
-
-
ISO_8025R
-
-
ISO_88022
-
-
ISO_88023
-
-
ISO_88024
-
-
ISO_88025
-
-
ISO_88026
-
-
LAPB
-
-
LAPD
-
-
LAPF
-
-
LOCAL_TALK
-
-
MODEM
-
-
MPCS
-
-
MYRINET
-
-
name
- The name of the interface.
-
netmask
- The netmask associated with the address
-
NSIP
-
-
OBSOLETE_FR
-
-
OBSOLETE_G702
-
-
OTHER
-
-
PARA
-
-
phyAddr
- The physical address associated with the interface.
-
phyType
- The physical interface type.
-
phyTypeNames
-
-
PPP
-
-
PPP_MULTI
-
-
PPP_SERIAL
-
-
PROP_MX
-
-
PROP_VIRTUAL
-
-
PROPRIETARY
-
-
PROTEON_10MB
-
-
PROTEON_80MB
-
-
RDSL
-
-
RFC_1822
-
-
RS_232
-
-
RSB
-
-
RSS_80211
-
-
S_TO_S
-
-
SDLC
-
-
SDSL
-
-
SIP
-
-
SLIP
-
-
SMDS_DXI
-
-
SMDS_ICIP
-
-
SNA_QLLC
-
-
SONET
-
-
SONET_PATH
-
-
SONET_VT
-
-
STAR_LAN
-
-
SW_LPBK
-
-
TDLC
-
-
ULTRA
-
-
V11
-
-
V35
-
-
V36
-
-
V37
-
-
VIPA
-
-
VLAN_L2_8021Q
-
-
VLAN_L3_IP
-
-
VLAN_L3_IPX
-
-
VOICE_EM
-
-
VOICE_ENC
-
-
VOICE_ENC_IP
-
-
VOICE_FXO
-
-
VOICE_FXS
-
-
X21
-
-
X213
-
-
X25
-
-
X25_DDN
-
-
X25_HUNT
-
-
X25_MIO
-
-
X25_MULTI
-
-
X25_PLE
-
-
X25_RFC877
-
-
X29_PAD
-
-
X3_PAD
-
-
Interface(String, int, String, String, String)
- Constructs an interface.
-
getAddress()
- Get the interface's address.
-
getIntfTypeString(int)
- Get a string describing an interface's physical type.
-
getName()
- Get the interface name.
-
getNetMask()
- Get the interface's netmask
-
getPhyAddr()
- Get the interface's physical address.
-
getPhyType()
- Get the interface's type.
-
setAddr(String)
- Set the interface's address.
-
setName(String)
- Set the interface name.
-
setNetMask(String)
- Set the interface's netmask
-
setPhyAddr(String)
- Set the interface's physical address.
-
setPhyType(int)
- Set the interface's type.
-
toString(int)
- Get a string describing the interface.
name
private String name
- The name of the interface.
phyType
private int phyType
- The physical interface type.
addr
private String addr
- The address associated with the interface.
netmask
private String netmask
- The netmask associated with the address
phyAddr
private String phyAddr
- The physical address associated with the interface.
OTHER
public static final int OTHER
RFC_1822
public static final int RFC_1822
HDH_1822
public static final int HDH_1822
X25_DDN
public static final int X25_DDN
X25_RFC877
public static final int X25_RFC877
ETHERNET
public static final int ETHERNET
ISO_88023
public static final int ISO_88023
ISO_88024
public static final int ISO_88024
ISO_88025
public static final int ISO_88025
ISO_88026
public static final int ISO_88026
STAR_LAN
public static final int STAR_LAN
PROTEON_10MB
public static final int PROTEON_10MB
PROTEON_80MB
public static final int PROTEON_80MB
HYPERCHANNEL
public static final int HYPERCHANNEL
FDDI
public static final int FDDI
LAPB
public static final int LAPB
SDLC
public static final int SDLC
DS1
public static final int DS1
E1
public static final int E1
ISDN_BRI
public static final int ISDN_BRI
ISDN_PRI
public static final int ISDN_PRI
PPP_SERIAL
public static final int PPP_SERIAL
PPP
public static final int PPP
SW_LPBK
public static final int SW_LPBK
EON
public static final int EON
ETHERNET_3MB
public static final int ETHERNET_3MB
NSIP
public static final int NSIP
SLIP
public static final int SLIP
ULTRA
public static final int ULTRA
DS3
public static final int DS3
SIP
public static final int SIP
FR
public static final int FR
RS_232
public static final int RS_232
PARA
public static final int PARA
ARCNET
public static final int ARCNET
ARCNET_PLUS
public static final int ARCNET_PLUS
ATM
public static final int ATM
X25_MIO
public static final int X25_MIO
SONET
public static final int SONET
X25_PLE
public static final int X25_PLE
ISO_88022
public static final int ISO_88022
LOCAL_TALK
public static final int LOCAL_TALK
SMDS_DXI
public static final int SMDS_DXI
FRAME_RELAY_SVC
public static final int FRAME_RELAY_SVC
V35
public static final int V35
HSSI
public static final int HSSI
HIPPI
public static final int HIPPI
MODEM
public static final int MODEM
ATM_AAL5
public static final int ATM_AAL5
SONET_PATH
public static final int SONET_PATH
SONET_VT
public static final int SONET_VT
SMDS_ICIP
public static final int SMDS_ICIP
PROP_VIRTUAL
public static final int PROP_VIRTUAL
PROP_MX
public static final int PROP_MX
ETHERNET_100VG
public static final int ETHERNET_100VG
FIBRE_CHAN
public static final int FIBRE_CHAN
HIPPI_INTF
public static final int HIPPI_INTF
OBSOLETE_FR
public static final int OBSOLETE_FR
ATM_EM_8023
public static final int ATM_EM_8023
ATM_EM_8025
public static final int ATM_EM_8025
ATM_EM_CIRCUIT
public static final int ATM_EM_CIRCUIT
ETHERNET_100T
public static final int ETHERNET_100T
ISDN
public static final int ISDN
X25
public static final int X25
V11
public static final int V11
X21
public static final int X21
V36
public static final int V36
G703_64KB
public static final int G703_64KB
OBSOLETE_G702
public static final int OBSOLETE_G702
SNA_QLLC
public static final int SNA_QLLC
ETHERNET_100FX
public static final int ETHERNET_100FX
CHANNEL
public static final int CHANNEL
RSS_80211
public static final int RSS_80211
CHANNEL_370
public static final int CHANNEL_370
IBM_ENTERPRISE
public static final int IBM_ENTERPRISE
DLS
public static final int DLS
ISDN_ST
public static final int ISDN_ST
ISDN_U
public static final int ISDN_U
LAPD
public static final int LAPD
IP_SW
public static final int IP_SW
RSB
public static final int RSB
ATM_LOG_PORT
public static final int ATM_LOG_PORT
DS0
public static final int DS0
DS0_GROUP
public static final int DS0_GROUP
BSC
public static final int BSC
ASYNC
public static final int ASYNC
COMBAT_NET
public static final int COMBAT_NET
ISO_8025R
public static final int ISO_8025R
EPLRS
public static final int EPLRS
APPLE_TALK_RAP
public static final int APPLE_TALK_RAP
PROPRIETARY
public static final int PROPRIETARY
X29_PAD
public static final int X29_PAD
X3_PAD
public static final int X3_PAD
FR_MULTI
public static final int FR_MULTI
X213
public static final int X213
ADSL
public static final int ADSL
RDSL
public static final int RDSL
SDSL
public static final int SDSL
HDSL
public static final int HDSL
ISO_8025_CRFP
public static final int ISO_8025_CRFP
MYRINET
public static final int MYRINET
VOICE_EM
public static final int VOICE_EM
VOICE_FXO
public static final int VOICE_FXO
VOICE_FXS
public static final int VOICE_FXS
VOICE_ENC
public static final int VOICE_ENC
VOICE_ENC_IP
public static final int VOICE_ENC_IP
ATM_DXI
public static final int ATM_DXI
ATM_FUNI
public static final int ATM_FUNI
ATM_IMA
public static final int ATM_IMA
PPP_MULTI
public static final int PPP_MULTI
IP_CDLC
public static final int IP_CDLC
CLAW
public static final int CLAW
S_TO_S
public static final int S_TO_S
VIPA
public static final int VIPA
MPCS
public static final int MPCS
IP_ATM_IBM
public static final int IP_ATM_IBM
ISO_8025J
public static final int ISO_8025J
TDLC
public static final int TDLC
ETHERNET_GB
public static final int ETHERNET_GB
HDLC
public static final int HDLC
LAPF
public static final int LAPF
V37
public static final int V37
X25_MULTI
public static final int X25_MULTI
X25_HUNT
public static final int X25_HUNT
HDLC_TRSP
public static final int HDLC_TRSP
INTLV_CHAN
public static final int INTLV_CHAN
FAST_CHAN
public static final int FAST_CHAN
IP
public static final int IP
CATV_MAC
public static final int CATV_MAC
CATV_DWNSTRM
public static final int CATV_DWNSTRM
CATV_UPSTRM
public static final int CATV_UPSTRM
AVALON_PP
public static final int AVALON_PP
ENC_INTF
public static final int ENC_INTF
COFFEE_POT
public static final int COFFEE_POT
CES
public static final int CES
ATM_SUB
public static final int ATM_SUB
VLAN_L2_8021Q
public static final int VLAN_L2_8021Q
VLAN_L3_IP
public static final int VLAN_L3_IP
VLAN_L3_IPX
public static final int VLAN_L3_IPX
IP_PWR
public static final int IP_PWR
IP_MMM
public static final int IP_MMM
DTM
public static final int DTM
DCN
public static final int DCN
IP_FWD_INTF
public static final int IP_FWD_INTF
phyTypeNames
private static final String phyTypeNames[]
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.
getName
public String getName()
- Get the interface name.
- Returns:
- A string with the interface's name.
setName
public void setName(String name)
- Set the interface name.
- Parameters:
- name - The interface's name.
getPhyType
public int getPhyType()
- Get the interface's type.
- Returns:
- The type of the physical interface.
setPhyType
public void setPhyType(int type)
- Set the interface's type.
- Parameters:
- type - The type of the physical interface.
getAddress
public String getAddress()
- Get the interface's address.
- Returns:
- A String Address with the address associated with
the interface.
setAddr
public void setAddr(String addr)
- Set the interface's address.
- Parameters:
- addr - The address associated with the interface.
getNetMask
public String getNetMask()
- Get the interface's netmask
- Returns:
- A String Netmask with the netmask associated with
the interface address
setNetMask
public void setNetMask(String netmask)
- Set the interface's netmask
- Parameters:
- netmask - The netmask associated with the interface's
address
getPhyAddr
public String getPhyAddr()
- Get the interface's physical address.
- Returns:
- A String Address with the physical address associated with
the interface.
setPhyAddr
public void setPhyAddr(String phyAddr)
- Set the interface's physical address.
- Parameters:
- phyAddr - The physical address associated with the interface.
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.
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