mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-22 21:01:00 +02:00
renamed the handler
This commit is contained in:
parent
9fc87594fd
commit
eea7dc9c41
@ -1,19 +0,0 @@
|
|||||||
package org.onlab.onos.foo;
|
|
||||||
|
|
||||||
import org.onlab.netty.Message;
|
|
||||||
import org.onlab.netty.MessageHandler;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A MessageHandler that simply logs the information.
|
|
||||||
*/
|
|
||||||
public class NettyLoggingHandler implements MessageHandler {
|
|
||||||
|
|
||||||
private final Logger log = LoggerFactory.getLogger(getClass());
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void handle(Message message) {
|
|
||||||
//log.info("Received message. Payload has {} bytes", message.payload().length);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user