PartnerDirectory Event

Fired before accessing partner.cfg of a trading partner.

Syntax

class AS2ProfileMgrPartnerDirectoryEventParams {
public:
  const QString &Name();
  const QString &Directory();
  void SetDirectory(const QString &qsDirectory);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void PartnerDirectory(AS2ProfileMgrPartnerDirectoryEventParams *e);
// Or, subclass AS2ProfileMgr and override this emitter function. virtual int FirePartnerDirectory(AS2ProfileMgrPartnerDirectoryEventParams *e) {...}

Remarks

This event is fired every time partner.cfg needs to be accessed i.e when LoadProfile or GetTPInfo are invoked with partner name not being "self". The Name provides the partner name and Directory indicates the directory in which partner profile is expected. Setting Directory to a different path will make the component look for partner.cfg in that directory. Note: PartnerDirectory event is not fired when ListPartners is invoked.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Qt Edition - Version 20.0 [Build 8203]