org.jcomponent.netserve.connection.impl
Interface ConnectionMonitor
- All Superinterfaces:
- AcceptorMonitor
- public interface ConnectionMonitor
- extends AcceptorMonitor
Monitor interface for Connection.
Provides a facade to support different types of events, including logging.
- Author:
- Mauro Talevi, Peter Donald
Method Summary |
void |
acceptorDisconnecting(String name,
boolean tearDown)
|
void |
connectionEnding(String name,
Socket socket)
|
void |
connectionStarting(String name,
Socket socket)
|
void |
disposingHandler(String name,
Socket socket)
|
void |
errorAquiringHandler(String name,
Exception e)
|
void |
errorClosingSocket(String name,
Socket socket,
Exception e)
|
void |
errorHandlerAlreadyDisposed(String name,
Socket socket)
|
void |
errorHandlingConnection(String name,
Socket socket,
Exception e)
|
acceptorDisconnecting
public void acceptorDisconnecting(String name,
boolean tearDown)
connectionEnding
public void connectionEnding(String name,
Socket socket)
connectionStarting
public void connectionStarting(String name,
Socket socket)
disposingHandler
public void disposingHandler(String name,
Socket socket)
errorHandlerAlreadyDisposed
public void errorHandlerAlreadyDisposed(String name,
Socket socket)
errorClosingSocket
public void errorClosingSocket(String name,
Socket socket,
Exception e)
errorAquiringHandler
public void errorAquiringHandler(String name,
Exception e)
errorHandlingConnection
public void errorHandlingConnection(String name,
Socket socket,
Exception e)
Copyright © 1999-2003 The Spice Group. All Rights Reserved.