7 #ifndef __netsignal_ChunkReceiver_h__ 8 #define __netsignal_ChunkReceiver_h__ 16 class FE_DL_EXPORT ChunkReceiverTask:
public Thread::Functor
19 ChunkReceiverTask(
void);
20 virtual void operate(
void);
22 sp<ChunkSpool> m_spChunkSpool;
23 sp<Socket> m_spSocket;
24 ChunkReceiver *m_pChunkReceiver;
26 Array< sp<Chunk> > m_spChunkPool;
30 class FE_DL_EXPORT ChunkReceiver :
public Component
34 virtual ~ChunkReceiver(
void);
36 virtual void start(sp<ChunkSpool> spChunkSpool, sp<Socket> spSocket,
37 String ioPriority=
"normal");
38 virtual void stop(
void);
39 virtual bool live(
void);
41 virtual void setLive(
bool setting);
43 void setPolling(sp<SignalerI> a_spSignaler,
44 sp<Layout> a_spPollLayout);
48 Thread* m_pChunkReceiverThread;
49 ChunkReceiverTask m_chunkReceiverTask;
54 sp<SignalerI> m_spSignaler;
kernel
Definition: namespace.dox:3