org.apache.avalon.cornerstone.blocks.connection
Class NullConnectionMonitor

java.lang.Object
  extended byorg.apache.avalon.cornerstone.blocks.connection.NullConnectionMonitor
All Implemented Interfaces:
ConnectionMonitor

public class NullConnectionMonitor
extends java.lang.Object
implements ConnectionMonitor

A ConnectionMonitor made with accordance to the NullObjectPattern. Use with caution.

Version:
$Revision: 1.8 $
Author:
Paul Hammant

Constructor Summary
NullConnectionMonitor()
           
 
Method Summary
 void acceptingConnectionException(java.lang.Class clazz, java.lang.String message, java.io.IOException ioe)
           
 void debugMessage(java.lang.Class clazz, java.lang.String message)
           
 boolean isDebugEnabled(java.lang.Class clazz)
           
 void shutdownSocketWarning(java.lang.Class clazz, java.lang.String message, java.io.IOException ioe)
           
 void unexpectedException(java.lang.Class clazz, java.lang.String message, java.lang.Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullConnectionMonitor

public NullConnectionMonitor()
Method Detail

acceptingConnectionException

public void acceptingConnectionException(java.lang.Class clazz,
                                         java.lang.String message,
                                         java.io.IOException ioe)
Specified by:
acceptingConnectionException in interface ConnectionMonitor

unexpectedException

public void unexpectedException(java.lang.Class clazz,
                                java.lang.String message,
                                java.lang.Exception e)
Specified by:
unexpectedException in interface ConnectionMonitor

shutdownSocketWarning

public void shutdownSocketWarning(java.lang.Class clazz,
                                  java.lang.String message,
                                  java.io.IOException ioe)
Specified by:
shutdownSocketWarning in interface ConnectionMonitor

debugMessage

public void debugMessage(java.lang.Class clazz,
                         java.lang.String message)
Specified by:
debugMessage in interface ConnectionMonitor

isDebugEnabled

public boolean isDebugEnabled(java.lang.Class clazz)
Specified by:
isDebugEnabled in interface ConnectionMonitor


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.