code: private void notifyListenersAfterWrite(ModbusMessage msg) {
          synchronized (listeners) {
              for (AbstractSerialTransportListener listener : listeners) {
                  listener.afterMessageWrite(commPort, msg);
              }
          }
      }
docs: Calls any listeners with the given event and current port
  
  @param msg Message sent