impl( unsigned io_threads, unsigned rpc_threads ) :pp_(io_threads, rpc_threads) ,app_(pp_) ,counter_(0) ,retry_timer_(pp_.get_io_service( )) ,accept_errors_(0) ,max_clients_(1000) ,next_id_(0) ,timer_pool_(1) ,dumb_proto_(false) ,counter_timer_(timer_pool_.get_io_service( )) { }
application::application(common::pool_pair &pools) :impl_(new impl(&pools.get_io_service( ), &pools.get_rpc_service( ))) { }