7 #ifndef __netsignal_Listener_h__ 8 #define __netsignal_Listener_h__ 14 typedef Spool<Socket> SocketSpool;
16 class ListenerTask:
public Thread::Functor
20 virtual void operate(
void);
22 sp<SocketSpool> m_spSocketSpool;
23 sp<Socket> m_spSocket;
26 class Listener :
public Component
30 virtual ~Listener(
void);
32 virtual void start(sp<SocketSpool> spSocketSpool, sp<Socket> spSocket,
34 virtual void stop(
void);
37 Thread* m_pListenerThread;
38 ListenerTask m_listenerTask;
kernel
Definition: namespace.dox:3