net.rmi.rjs.pk.LusCs
Class Utils

java.lang.Object
  extended by net.rmi.rjs.pk.LusCs.Utils

public class Utils
extends java.lang.Object

Copyright DocJava, inc. User: lyon

Date: Nov 24, 2004

Time: 6:30:54 PM


Constructor Summary
Utils()
           
 
Method Summary
static void closeSocket(java.net.MulticastSocket mcastSocket, java.net.InetAddress inetAddress)
           
static java.net.InetAddress getInetAddress()
           
static java.net.MulticastSocket getMulticastSocket(int port, java.net.InetAddress inetAddress)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

getMulticastSocket

public static java.net.MulticastSocket getMulticastSocket(int port,
                                                          java.net.InetAddress inetAddress)
                                                   throws java.io.IOException
Throws:
java.io.IOException

getInetAddress

public static java.net.InetAddress getInetAddress()
                                           throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException

closeSocket

public static void closeSocket(java.net.MulticastSocket mcastSocket,
                               java.net.InetAddress inetAddress)
                        throws java.io.IOException
Throws:
java.io.IOException