728x90
반응형
basic_socket_acceptor::basic_socket_acceptor
승인기(acceptor)를 열지 않고 생성하는 생성자(constructor)
explicit basic_socket_acceptor( const executor_type & ex);
template< typename ExecutionContext> explicit basic_socket_acceptor( ExecutionContext & context, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
승인기(acceptor)를 열어서 생성하는 생성자(constructor)
basic_socket_acceptor( const executor_type & ex, const protocol_type & protocol);
template< typename ExecutionContext> basic_socket_acceptor( ExecutionContext & context, const protocol_type & protocol, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
주어진 엔드포인트에서 열린 승인기(acceptor)로 생성하는 생성자(constructor)
basic_socket_acceptor( const executor_type & ex, const endpoint_type & endpoint, bool reuse_addr = true);
template< typename ExecutionContext> basic_socket_acceptor( ExecutionContext & context, const endpoint_type & endpoint, bool reuse_addr = true, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
주어진 기본(native) 승인기(acceptor)에서 basic_socket_acceptor를 생성하는 생성자(constructor)
basic_socket_acceptor( const executor_type & ex, const protocol_type & protocol, const native_handle_type & native_acceptor);
template< typename ExecutionContext> basic_socket_acceptor( ExecutionContext & context, const protocol_type & protocol, const native_handle_type & native_acceptor, typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type * = 0);
다른 basic_socket_acceptor에서 basic_socket_acceptor를 이동 생성하는 이동-생성자(move constructor)
basic_socket_acceptor( basic_socket_acceptor && other);
다른 프로토콜 유형의 승인기(acceptor)를 basic_socket_acceptor로 이동 생성하는 이동-생성자(move constructor)
template< typename Protocol1, typename Executor1> basic_socket_acceptor( basic_socket_acceptor< Protocol1, Executor1 > && other, typename enable_if< is_convertible< Protocol1, Protocol >::value &&is_convertible< Executor1, Executor >::value >::type * = 0);
728x90
반응형
'Boost C++ Libraries > Boost.Asio' 카테고리의 다른 글
Boost.Asio 색인 - basic_socket_streambuf::basic_socket_streambuf (0) | 2021.01.12 |
---|---|
Boost.Asio 색인 - basic_socket_iostream::basic_socket_iostream (0) | 2021.01.12 |
Boost.Asio 색인 - basic_socket::basic_socket (0) | 2021.01.11 |
Boost.Asio 색인 - basic_signal_set::basic_signal_set (0) | 2021.01.11 |
Boost.Asio 색인 - basic_serial_port::basic_serial_port (0) | 2021.01.11 |