|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface EventListener
Event listener used by the HTTP protocol layer to report fatal exceptions and events that may need to be logged using a logging toolkit.
Method Summary | |
---|---|
void |
connectionClosed(NHttpConnection conn)
Deprecated. Triggered when a connection has been terminated. |
void |
connectionOpen(NHttpConnection conn)
Deprecated. Triggered when a new connection has been established. |
void |
connectionTimeout(NHttpConnection conn)
Deprecated. Triggered when a connection has timed out. |
void |
fatalIOException(IOException ex,
NHttpConnection conn)
Deprecated. Triggered when an I/O error caused a connection to be terminated. |
void |
fatalProtocolException(HttpException ex,
NHttpConnection conn)
Deprecated. Triggered when an HTTP protocol error caused a connection to be terminated. |
Method Detail |
---|
void fatalIOException(IOException ex, NHttpConnection conn)
ex
- the I/O exception.conn
- the connection.void fatalProtocolException(HttpException ex, NHttpConnection conn)
ex
- the protocol exception.conn
- the connection.void connectionOpen(NHttpConnection conn)
conn
- the connection.void connectionClosed(NHttpConnection conn)
conn
- the connection.void connectionTimeout(NHttpConnection conn)
conn
- the connection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |