Partner Event

Fired when ListPartners is invoked.


ANSI (Cross Platform)
virtual int FirePartner(AS2ProfileMgrPartnerEventParams *e);
typedef struct {
const char *partnerIdentifier;
const char *partnerURL; int reserved; } AS2ProfileMgrPartnerEventParams; Unicode (Windows) virtual INT FirePartner(AS2ProfileMgrPartnerEventParams *e);
typedef struct {
LPCWSTR partnerIdentifier;
LPCWSTR partnerURL; INT reserved; } AS2ProfileMgrPartnerEventParams;
- (void)onPartner:(NSString*)partnerIdentifier :(NSString*)partnerURL;

virtual INT IPWORKSEDI_CALL FirePartner(LPSTR &lpszpartnerIdentifier, LPSTR &lpszpartnerURL);


This event is fired when ListPartners is called. It fires for each partner found by the AS2ProfileMgr in DataDir. The parameter partnerIdentifier is same as provided to SaveProfile to save the partner profile. The URL provided by the trading partner to post AS2 messages can be read from partnerURL.

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