|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.unlogic.standardutils.net.SocketUtils
public class SocketUtils
Constructor Summary | |
---|---|
SocketUtils()
|
Method Summary | |
---|---|
static void |
closeSocket(java.net.Socket socket)
|
static java.net.Socket |
getSocket(java.lang.String host,
int port,
int timeout)
|
static boolean |
isPortAvailable(int port)
|
static boolean |
isValidInetAddress(java.lang.String address)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketUtils()
Method Detail |
---|
public static java.net.Socket getSocket(java.lang.String host, int port, int timeout) throws java.io.IOException
java.io.IOException
public static boolean isValidInetAddress(java.lang.String address)
public static boolean isPortAvailable(int port)
public static void closeSocket(java.net.Socket socket)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |