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