18 #ifndef HH_SENF_Socket_ProtocolServerSocketHandle_ 19 #define HH_SENF_Socket_ProtocolServerSocketHandle_ 1 23 #include <senf/config.hh> 34 template <
class Protocol>
class ProtocolClientSocketHandle;
56 template <
class SocketProtocol>
57 class ProtocolServerSocketHandle
58 :
public ServerSocketHandle<typename SocketProtocol::Policy>
82 # define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, SENF_ABSOLUTE_INCLUDE_PATH(Socket/ProtocolServerSocketHandle.mpp), 1)) 83 # include BOOST_PP_ITERATE() 104 ProtocolClientSocketHandle<SocketProtocol>
accept();
109 void state(SocketStateMap & map,
unsigned lod=0);
Socket Protocol base class.
ServerSocketHandle public header.
void state(SocketStateMap &map, unsigned lod=0)
Protocol & protocol()
Access the protocol interface.
ProtocolServerSocketHandle()
Create new server socket.
ProtocolClientSocketHandle< SocketProtocol > accept()
SocketProtocol Protocol
The socket protocol.
static ProtocolServerSocketHandle cast_static(FileHandle handle)
static ProtocolServerSocketHandle cast_dynamic(FileHandle handle)
std::string dumpState(unsigned lod=0)