net.sourceforge.jaulp.net
Class SocketUtils

java.lang.Object
  extended by net.sourceforge.jaulp.net.SocketUtils

public class SocketUtils
extends java.lang.Object

Helper class for handling Sockets.

Version:
1.0
Author:
Asterios Raptis

Constructor Summary
SocketUtils()
           
 
Method Summary
static boolean closeServerSocket(java.net.ServerSocket serverSocket)
          Closes the given ServerSocket.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketUtils

public SocketUtils()
Method Detail

closeServerSocket

public static boolean closeServerSocket(java.net.ServerSocket serverSocket)
Closes the given ServerSocket.

Parameters:
serverSocket - The ServerSocket to close.
Returns:
Returns true if the ServerSocket is closed otherwise false.


Copyright © 2010. All Rights Reserved.