private void sendEchoReply(OFEchoRequest request) {
   OFEchoReply reply =
       factory.buildEchoReply().setXid(request.getXid()).setData(request.getData()).build();
   write(reply);
 }
Example #2
0
 private void sendEchoReply(OFEchoRequest request) {
   OFEchoReply reply =
       factory.buildEchoReply().setXid(request.getXid()).setData(request.getData()).build();
   channel.write(Collections.singletonList(reply));
 }