com.sun.multicast.allocation
Class IPv4AddressType

java.lang.Object
  |
  +--com.sun.multicast.allocation.IPv4AddressType
All Implemented Interfaces:
AddressType

public class IPv4AddressType
extends java.lang.Object
implements AddressType

The IPv4 address type. Addresses are 32-bit unsigned integers.

There is just one singleton object of this class per JVM. This object can be accessed with the static getAddressType method.

Objects of this class and all values returned by their methods are immutable. That is, their values cannot change after they are constructed.


Method Summary
static IPv4AddressType getAddressType()
          Gets the singleton IPv4AddressType object.
 int getIANAID()
          Returns the IANA-assigned address family code for this address type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAddressType

public static IPv4AddressType getAddressType()
Gets the singleton IPv4AddressType object.
Returns:
the singleton IPv4AddressType object

getIANAID

public int getIANAID()
Returns the IANA-assigned address family code for this address type.
Specified by:
getIANAID in interface AddressType
Returns:
the IANA-assigned address family code for this address type


JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.