jif.net
Class SocketUtil

java.lang.Object
  extended by jif.net.SocketUtil

public class SocketUtil
extends java.lang.Object

This class provides some useful utilities for Jif programs using Java's sockets.


Method Summary
static void acceptConnections(Label lbl, java.net.ServerSocket ss, SocketAcceptor a)
          Listen to the ServerSocket, and pass any new connections to the SocketAcceptor, in a new thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

acceptConnections

public static void acceptConnections(Label lbl,
                                     java.net.ServerSocket ss,
                                     SocketAcceptor a)
Listen to the ServerSocket, and pass any new connections to the SocketAcceptor, in a new thread.

Parameters:
ss -
a -