Partner Event
Fired when ListPartners is invoked.
Syntax
as2profilemgr.on('Partner', [callback])
Callback
The 'callback' is called when the 'Partner' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.partnerIdentifier e.partnerURL
Remarks
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.