IFiberConnectionHandlerBase.this

Constructor

Connects the socket, the asynchronous reader and writer, and the provided epoll select dispatcher.

  1. this(EpollSelectDispatcher epoll, size_t stack_size, ISocket socket, FinalizeDg finalize_dg, ErrorDg error_dg)
    class IFiberConnectionHandlerBase
    protected
    this
    (
    EpollSelectDispatcher epoll
    ,
    size_t stack_size
    ,,
    scope FinalizeDg finalize_dg = null
    ,
    scope ErrorDg error_dg = null
    )
  2. this(EpollSelectDispatcher epoll, ISocket socket, FinalizeDg finalize_dg, ErrorDg error_dg)

Parameters

epoll EpollSelectDispatcher

epoll select dispatcher

stack_size size_t

fiber stack size

socket ISocket

the socket

finalize_dg FinalizeDg

user-specified finalizer, called when the connection is shut down

error_dg ErrorDg

user-specified error handler, called when a connection error occurs

Meta