Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ContractPetitionEventArgs.cs
1using System.Xml;
3
5{
10 {
11 private readonly LegalIdentity requestorIdentity;
12 private readonly string requestorFullJid;
13 private readonly string requestedContractId;
14 private readonly string petitionId;
15 private readonly string purpose;
16 private readonly string clientEndpoint;
17 private readonly XmlElement context;
18
31 string RequestedContractId, string PetitionId, string Purpose, string ClientEndpoint, XmlElement Context)
32 : base(e)
33 {
34 this.requestorIdentity = RequestorIdentity;
35 this.requestorFullJid = RequestorFullJid;
36 this.requestedContractId = RequestedContractId;
37 this.petitionId = PetitionId;
38 this.purpose = Purpose;
39 this.clientEndpoint = ClientEndpoint;
40 this.context = Context;
41 }
42
46 public LegalIdentity RequestorIdentity => this.requestorIdentity;
47
51 public string RequestorFullJid => this.requestorFullJid;
52
56 public string RequestedContractId => this.requestedContractId;
57
61 public string PetitionId => this.petitionId;
62
66 public string Purpose => this.purpose;
67
71 public string ClientEndpoint => this.clientEndpoint;
72
76 public XmlElement Context => this.context;
77 }
78}
ContractPetitionEventArgs(MessageEventArgs e, LegalIdentity RequestorIdentity, string RequestorFullJid, string RequestedContractId, string PetitionId, string Purpose, string ClientEndpoint, XmlElement Context)
Event arguments for smart contract petitions
XmlElement Context
Any machine-readable context XML element available in the petition.
Event arguments for message events.