Class SocketBase
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.IO.Transport
Assembly: Catalyst.Core.Lib.dll
Syntax
public abstract class SocketBase : ISocket, IDisposable
Constructors
| Improve this Doc View SourceSocketBase(IChannelFactory, ILogger, IEventLoopGroupFactory)
Declaration
protected SocketBase(IChannelFactory channelFactory, ILogger logger, IEventLoopGroupFactory eventLoopGroupFactory)
Parameters
Type | Name | Description |
---|---|---|
IChannelFactory | channelFactory | |
ILogger | logger | |
IEventLoopGroupFactory | eventLoopGroupFactory |
Fields
| Improve this Doc View SourceChannelFactory
Declaration
protected readonly IChannelFactory ChannelFactory
Field Value
Type | Description |
---|---|
IChannelFactory |
EventLoopGroupFactory
Declaration
protected readonly IEventLoopGroupFactory EventLoopGroupFactory
Field Value
Type | Description |
---|---|
IEventLoopGroupFactory |
Properties
| Improve this Doc View SourceChannel
Declaration
public IChannel Channel { get; protected set; }
Property Value
Type | Description |
---|---|
IChannel |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
StartAsync()
Declaration
public abstract Task StartAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Implements
System.IDisposable