Clover Coverage Report
Coverage timestamp: Sa Aug 2 2008 13:56:27 CEST
0   84   0   -
0   11   -   0
0     -  
1    
 
  LogListener       Line # 28 0 0 - -1.0
 
No Tests
 
1    /* $Id: LogListener.java,v 1.1 2008/07/26 07:58:29 m31 Exp $
2    *
3    * This file is part of the project "Hilbert II" - http://www.qedeq.org
4    *
5    * Copyright 2000-2008, Michael Meyling <mime@qedeq.org>.
6    *
7    * "Hilbert II" is free software; you can redistribute
8    * it and/or modify it under the terms of the GNU General Public
9    * License as published by the Free Software Foundation; either
10    * version 2 of the License, or (at your option) any later version.
11    *
12    * This program is distributed in the hope that it will be useful,
13    * but WITHOUT ANY WARRANTY; without even the implied warranty of
14    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15    * GNU General Public License for more details.
16    */
17   
18    package org.qedeq.kernel.bo.log;
19   
20    import java.net.URL;
21   
22    /**
23    * Log event listener. Here one can listen to high level application events.
24    *
25    * @version $Revision: 1.1 $
26    * @author Michael Meyling
27    */
 
28    public interface LogListener {
29   
30    /**
31    * Log message.
32    *
33    * @param text Message.
34    */
35    public void logMessage(String text);
36   
37    /**
38    * Log request.
39    *
40    * @param text Request.
41    */
42    public void logRequest(String text);
43   
44    /**
45    * Log successful reply for an request.
46    *
47    * @param text Reply.
48    */
49    public void logSuccessfulReply(String text);
50   
51    /**
52    * Log failure reply for an request.
53    *
54    * @param text Reply.
55    * @param description Reason for reply.
56    */
57    public void logFailureReply(String text, String description);
58   
59    /**
60    * Log message state for URL.
61    *
62    * @param text Message state.
63    * @param url URL.
64    */
65    public void logMessageState(String text, URL url);
66   
67    /**
68    * Log failure state for URL.
69    *
70    * @param text Failure state.
71    * @param url URL.
72    * @param description Reason.
73    */
74    public void logFailureState(String text, URL url, String description);
75   
76    /**
77    * Log successful state for URL.
78    *
79    * @param text State.
80    * @param url URL.
81    */
82    public void logSuccessfulState(String text, URL url);
83   
84    }