IFiberConnectionHandlerBase.this

Constructor, uses the default fiber stack size.

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)
  2. this(EpollSelectDispatcher epoll, ISocket socket, FinalizeDg finalize_dg, ErrorDg error_dg)
    class IFiberConnectionHandlerBase
    protected
    this
    (
    EpollSelectDispatcher epoll
    ,,
    scope FinalizeDg finalize_dg = null
    ,
    scope ErrorDg error_dg = null
    )

Parameters

epoll EpollSelectDispatcher

epoll select dispatcher

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