docs: @Override
      public void messageEventOccurred(int event,
                                       SIMPMessage msg,
                                       TransactionCommon tran)
                      throws
                      SIDiscriminatorSyntaxException,
                      SIResourceException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "messageEventOccurred", new Object[] { new Integer(event), msg, tran });
  
          if (event == MessageEvents.PRE_PREPARE_TRANSACTION) //183715.1
          {
              eventPrecommitAdd(msg, tran);
          }
          else if (event == MessageEvents.POST_COMMIT_ADD)
          {
              eventPostAdd(msg, tran, false);
          }
          else if (event == MessageEvents.POST_ROLLBACK_ADD)
          {
              eventPostAdd(msg, tran, true);
          }
          else if (event == MessageEvents.POST_COMMITTED_TRANSACTION)
          {
              eventPostCommit(msg);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "messageEventOccurred");
      }