Class PeerClient
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Lib.P2P
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class PeerClient : UdpClient, IUdpClient, IPeerClient, ISocketClient, ISocket, IDisposable
Constructors
| Improve this Doc View SourcePeerClient(IUdpClientChannelFactory, IUdpClientEventLoopGroupFactory, IPeerSettings)
Declaration
public PeerClient(IUdpClientChannelFactory clientChannelFactory, IUdpClientEventLoopGroupFactory eventLoopGroupFactory, IPeerSettings peerSettings)
Parameters
Type | Name | Description |
---|---|---|
IUdpClientChannelFactory | clientChannelFactory | A factory used to build the appropriate kind of channel for a udp client. |
IUdpClientEventLoopGroupFactory | eventLoopGroupFactory | |
IPeerSettings | peerSettings |
Methods
| Improve this Doc View SourceStartAsync()
Declaration
public override Task StartAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Implements
System.IDisposable