Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PostBackEventArgs.cs
1using System;
2using System.IO;
3
5{
9 public class PostBackEventArgs : EventArgs
10 {
11 private readonly Stream data;
12 private readonly object state;
13 private readonly string from;
14 private readonly string to;
15 private readonly string endpointReference;
16 private readonly string symmetricCipherReference;
17
27 public PostBackEventArgs(Stream Data, object State, string From, string To, string EndpointReference, string SymmetricCipherReference)
28 {
29 this.data = Data;
30 this.state = State;
31 this.from = From;
32 this.to = To;
33 this.endpointReference = EndpointReference;
34 this.symmetricCipherReference = SymmetricCipherReference;
35 }
36
40 public Stream Data => this.data;
41
45 public object State => this.state;
46
50 public string From => this.from;
51
55 public string To => this.to;
56
60 public string EndpointReference => this.endpointReference;
61
65 public string SymmetricCipherReference => this.symmetricCipherReference;
66 }
67}
Event arguments for post-back events or callbacks.
string From
From whom the response came.
PostBackEventArgs(Stream Data, object State, string From, string To, string EndpointReference, string SymmetricCipherReference)
Event arguments for post-back events or callbacks.
Stream Data
Data stream
string SymmetricCipherReference
Symmetric Cipher reference (if end-to-end encryption has been used).
string EndpointReference
Endpoint reference (if end-to-end encryption has been used).
string To
To whom the response is made.
object State
State object