Show / Hide Table of Contents

    Class SocketBase

    Inheritance
    System.Object
    SocketBase
    ClientBase
    TcpServer
    UdpServer
    Implements
    ISocket
    System.IDisposable
    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 Source

    SocketBase(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 Source

    ChannelFactory

    Declaration
    protected readonly IChannelFactory ChannelFactory
    Field Value
    Type Description
    IChannelFactory
    | Improve this Doc View Source

    EventLoopGroupFactory

    Declaration
    protected readonly IEventLoopGroupFactory EventLoopGroupFactory
    Field Value
    Type Description
    IEventLoopGroupFactory

    Properties

    | Improve this Doc View Source

    Channel

    Declaration
    public IChannel Channel { get; protected set; }
    Property Value
    Type Description
    IChannel

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    StartAsync()

    Declaration
    public abstract Task StartAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    Implements

    ISocket
    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network