|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.beep4j.transport.LoggingTransportContext
public class LoggingTransportContext
Logging interceptor for methods of TransportContext.
| Constructor Summary | |
|---|---|
LoggingTransportContext(TransportContext target)
|
|
| Method Summary | |
|---|---|
void |
connectionClosed()
Invoked by the Transport when the underlying physical connection has been closed. |
void |
connectionEstablished(java.net.SocketAddress address)
Notifies the context that the physical connection has been established. |
void |
exceptionCaught(java.lang.Throwable cause)
Invoked by the Transport to notify the context about an exception that has been caught while sending or processing a message. |
void |
messageReceived(java.nio.ByteBuffer buffer)
Invoked by the Transport whenever new content has been received. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingTransportContext(TransportContext target)
| Method Detail |
|---|
public void connectionEstablished(java.net.SocketAddress address)
TransportContext
connectionEstablished in interface TransportContextaddress - the SocketAddress of the remote peerpublic void messageReceived(java.nio.ByteBuffer buffer)
TransportContext
messageReceived in interface TransportContextbuffer - the received bytespublic void exceptionCaught(java.lang.Throwable cause)
TransportContext
exceptionCaught in interface TransportContextcause - the causing exceptionpublic void connectionClosed()
TransportContext
connectionClosed in interface TransportContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||