org.openrtk.idl.epp0705.host
Class epp_HostAddressType
java.lang.Object
org.openrtk.idl.epp0705.host.epp_HostAddressType
- org.omg.CORBA.portable.IDLEntity
public class epp_HostAddressType
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity
Class defining constant instances of IP address types for host.
Used in conjunction with the epp_HostAddress class to indicate the
type of the host IP address: IPV4, IPV6.
$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp0705/host/epp_HostAddressType.java,v 1.1 2003/03/20 22:42:31 tubadanm Exp $
$Revision: 1.1 $
$Date: 2003/03/20 22:42:31 $
static epp_HostAddressType | IPV4 - Instance of epp_HostAddressType representing the IPV4 address type.
|
static epp_HostAddressType | IPV6 - Instance of epp_HostAddressType representing the IPV6 address type.
|
static int | _IPV4 - Integer value representing the IPV4 address type.
|
static int | _IPV6 - Integer value representing the IPV6 address type.
|
static epp_HostAddressType | from_int(int value) - Transform an integer into a epp_HostAddressType constant.
|
String | toString()
|
int | value() - Accessor method for the internal integer representing the type of address.
|
IPV4
public static final epp_HostAddressType IPV4
Instance of epp_HostAddressType representing the IPV4 address type.
Used directly with epp_HostAddress.
IPV6
public static final epp_HostAddressType IPV6
Instance of epp_HostAddressType representing the IPV6 address type.
Used directly with epp_HostAddress.
_IPV4
public static final int _IPV4
Integer value representing the IPV4 address type.
_IPV6
public static final int _IPV6
Integer value representing the IPV6 address type.
epp_HostAddressType
protected epp_HostAddressType(int value)
For internal use only.
Initializes the internal address type array.
value
- The integer value for the desired address type
from_int
public static epp_HostAddressType from_int(int value)
Transform an integer into a epp_HostAddressType constant.
Given the integer representation of the address type, returns
one of the address type constants.
value
- The integer value for the desired address type
toString
public String toString()
value
public int value()
Accessor method for the internal integer representing the type of address.
- The integer value of this host address type
Copyright © 2001-2002 - Tucows, Inc., 2003 - LibertyRMS