Class BaseCommunicationProvider
Inheritance
System.Object
BaseCommunicationProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:StatsN
Assembly:cs.temp.dll.dll
Syntax
public abstract class BaseCommunicationProvider : IDisposable
Constructors
| Improve this DocBaseCommunicationProvider()
Declaration
protected BaseCommunicationProvider()
Properties
| Improve this DocIsConnected
Declaration
public abstract bool IsConnected { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Options
Declaration
protected StatsdOptions Options { get; }
Property Value
Type | Description |
---|---|
StatsdOptions |
Methods
| Improve this DocConnect()
Declaration
public abstract Task<bool> Connect()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><System.Boolean> |
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable.Dispose()
|
Improve this Doc
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
GetIpAddressAsync()
Declaration
protected Task<IPEndPoint> GetIpAddressAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><IPEndPoint> |
GetIpAddressAsync(String, Int32)
Declaration
protected Task<IPEndPoint> GetIpAddressAsync(string hostOrIPAddress, int port)
Parameters
Type | Name | Description |
---|---|---|
System.String | hostOrIPAddress | |
System.Int32 | port |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><IPEndPoint> |
OnDispose()
Declaration
public abstract void OnDispose()
SendAsync(Byte[])
Declaration
public abstract Task SendAsync(byte[] payload)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | payload |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |