Clover coverage report - Spice Netserve - 1.1-b3
Coverage timestamp: Tue Nov 30 2004 22:08:21 EET
file stats: LOC: 61   Methods: 0
NCLOC: 11   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
AcceptorMonitor.java - - - -
coverage
 1    /*
 2    * Copyright (C) The Spice Group. All rights reserved.
 3    *
 4    * This software is published under the terms of the Spice
 5    * Software License version 1.1, a copy of which has been included
 6    * with this distribution in the LICENSE.txt file.
 7    */
 8    package org.codehaus.spice.netserve.connection.impl;
 9   
 10    import java.io.IOException;
 11    import java.net.ServerSocket;
 12   
 13    /**
 14    * Monitor used to monitor events in the AcceptorManager.
 15    *
 16    * @author Peter Donald
 17    * @version $Revision: 1.2 $ $Date: 2004/03/21 23:42:59 $
 18    */
 19    public interface AcceptorMonitor
 20    {
 21    /**
 22    * Aceptor create with name for specified socket.
 23    *
 24    * @param name the acceptor name
 25    * @param serverSocket the socket
 26    */
 27    void acceptorCreated( String name, ServerSocket serverSocket );
 28   
 29    /**
 30    * About to close down acceptor and stop listening for
 31    * connections.
 32    *
 33    * @param name the acceptor name
 34    * @param serverSocket the socket
 35    */
 36    void acceptorClosing( String name, ServerSocket serverSocket );
 37   
 38    /**
 39    * Listening for connection attempts in acceptor.
 40    *
 41    * @param name the acceptor name
 42    * @param serverSocket the socket
 43    */
 44    void serverSocketListening( String name, ServerSocket serverSocket );
 45   
 46    /**
 47    * There was an error accepting client connections.
 48    *
 49    * @param name the name of acceptor
 50    * @param ioe the exception
 51    */
 52    void errorAcceptingConnection( String name, IOException ioe );
 53   
 54    /**
 55    * There was an error closing server socket.
 56    *
 57    * @param name the name of acceptor
 58    * @param ioe the exception
 59    */
 60    void errorClosingServerSocket( String name, IOException ioe );
 61    }