com.github.dreamhead.moco.monitor
Class Slf4jMonitor

java.lang.Object
  extended by com.github.dreamhead.moco.monitor.Slf4jMonitor
All Implemented Interfaces:
MocoMonitor

public class Slf4jMonitor
extends java.lang.Object
implements MocoMonitor


Constructor Summary
Slf4jMonitor()
           
 
Method Summary
 void onException(java.lang.Exception e)
           
 void onMessageArrived(io.netty.handler.codec.http.FullHttpRequest request)
           
 void onMessageLeave(io.netty.handler.codec.http.FullHttpResponse response)
           
 void onUnexpectedMessage(io.netty.handler.codec.http.FullHttpRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Slf4jMonitor

public Slf4jMonitor()
Method Detail

onMessageArrived

public void onMessageArrived(io.netty.handler.codec.http.FullHttpRequest request)
Specified by:
onMessageArrived in interface MocoMonitor

onException

public void onException(java.lang.Exception e)
Specified by:
onException in interface MocoMonitor

onMessageLeave

public void onMessageLeave(io.netty.handler.codec.http.FullHttpResponse response)
Specified by:
onMessageLeave in interface MocoMonitor

onUnexpectedMessage

public void onUnexpectedMessage(io.netty.handler.codec.http.FullHttpRequest request)
Specified by:
onUnexpectedMessage in interface MocoMonitor