Server Utilities Realease-Notes Author: Manfred Duchrow Copyright (c) 2002-2014, by Manfred Duchrow. All rights reserved. ======================================================================= ----------------------------------------------------------------------- VERSION 2.0.0 (19/08/2014), 0 Unit Tests * Upgraded to Java 6 * Created this component and moved all classes (except UniformResourceLocator) from PF-Net to it. * Changed package name from org.pf.net to org.pfsw.server ----------------------------------------------------------------------- VERSION PF-Net 1.6 (September 30, 2012) * RequestServer > Added - inst-var connectionIdleTimeout with getter/setter - public RequestServer(int port, int idleTimeout) - public RequestServer(int port, int idleTimeout, ExceptionHandler exHandler) - public int getPort() > Changed methods to handle SocketTimeoutException by closing the connection - BinarySocketConnection.getData() - TextSocketConnection.readLine() * BinaryRequestServer > Added constructors - public BinaryRequestServer(int port, ExceptionHandler exHandler) - public BinaryRequestServer(int port, int idleTimeout, ExceptionHandler exHandler) - public BinaryRequestServer(int port, int idleTimeout) - public BinaryRequestServer(int port) * TextRequestServer > Added constructors - public TextRequestServer(int port, ExceptionHandler exHandler) - public TextRequestServer(int port, int idleTimeout, ExceptionHandler exHandler) - public TextRequestServer(int port, int idleTimeout) - public TextRequestServer(int port) ----------------------------------------------------------------------- VERSION PF-Net 1.3 ( August 23, 2006 ) * BinarySocketConnection > Changed public byte[] getData() to block until data comes in which avoids unnecessary cpu time consuming looping * PortListener > Added - public boolean isOpen() - public int getPort() * RequestServer > Changed initialize() to check isOpen() of PortListener and to react accordingly > Changed return value of initialize() to boolean > Moved all logic from run() to new method - protected void listen() > Changed run() to close the socket in case of a RuntimeException ----------------------------------------------------------------------- VERSION PF-Net 1.2 ( July 30, 2004 ) * New classes - SocketConnection - RequestProcessor - RequestServer - BinarySocketConnection - BinaryRequestServer * TextSocketConnection - Changed superclass to SocketConnection - Moved many methods to new superclass SocketConnection * TextRequestProcessor - Changed super interface to RequestProcessor ----------------------------------------------------------------------- VERSION PF-Net 1.1 ( February 28, 2003 ) * Moved interface ExceptionHandler from PF-Net to PF-Utilities * Moved class ExceptionIgnorer from PF-Net to PF-Utilities ----------------------------------------------------------------------- VERSION PF-Net 1.0 ( December 3, 2002 ) * Initial version with the following classes - BaseTextRequestProcessor - ConnectionPool - ExceptionHandler - ExceptionIgnorer - PortListener - TextRequestProcessor - TextRequestServer - TextSocketConnection -----------------------------------------------------------------------