Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
StreamEventArgs.cs
1using System;
2
4{
8 public class StreamEventArgs : EventArgs
9 {
10 private readonly bool ok;
11 private readonly Socks5Client stream;
12 private readonly object state;
13
21 {
22 this.ok = Ok;
23 this.stream = Stream;
24 this.state = State;
25 }
26
30 public bool Ok => this.ok;
31
35 public Socks5Client Stream => this.stream;
36
40 public object State => this.state;
41 }
42}
Client used for SOCKS5 communication.
Definition: Socks5Client.cs:61
Event arguments for stream callbacks.
StreamEventArgs(bool Ok, Socks5Client Stream, object State)
Event arguments for stream callbacks.