private void writePacketOutForPacketIn(IOFSwitch sw,OFPacketIn packetInMessage,OFPort egressPort){
  OFMessageUtils.writePacketOutForPacketIn(sw,packetInMessage,egressPort);
  counterPacketOut.increment();
}

private void writePacketOutForPacketIn ( IOFSwitch sw , OFPacketIn packetInMessage , OFPort egressPort ) { OFMessageUtils . writePacketOutForPacketIn ( sw , packetInMessage , egressPort ) ; counterPacketOut . increment ( ) ; }
writes an ofpacketout message to a switch .
