com.cosylab.epics.caj.util.nif
Class InetAddressUtilV6

java.lang.Object
  extended by com.cosylab.epics.caj.util.nif.InetAddressUtilV6

public class InetAddressUtilV6
extends Object

InetAddress utility methods. This class needs Java 6 or never. To compile on older version, simply remove this file. CAJ will detect this and use defaults.

Version:
$Id: InetAddressUtil.java,v 1.4 2009/12/22 21:50:26 msekoranja Exp $
Author:
Matej Sekoranja

Constructor Summary
InetAddressUtilV6()
           
 
Method Summary
static InetSocketAddress[] getBroadcastAddresses(int port)
          Get broadcast addresses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InetAddressUtilV6

public InetAddressUtilV6()
Method Detail

getBroadcastAddresses

public static InetSocketAddress[] getBroadcastAddresses(int port)
Get broadcast addresses.

Parameters:
port - port to be added to get socket address.
Returns:
array of broadcast addresses with given port.


Copyright © 2004-2013 Cosylab. All Rights Reserved.