1 #include "JAWS/Data_Block.h"
2 #include "JAWS/Policy.h"
5 JAWS_Data_Block::JAWS_Data_Block ()
6 : ACE_Message_Block (JAWS_DATA_BLOCK_SIZE
),
14 JAWS_Data_Block::JAWS_Data_Block (JAWS_Data_Block
&db
)
15 : ACE_Message_Block (JAWS_DATA_BLOCK_SIZE
),
16 io_handler_ (db
.io_handler_
),
19 payload_ (db
.payload_
)
23 JAWS_Data_Block::~JAWS_Data_Block ()
27 JAWS_Pipeline_Handler
*
28 JAWS_Data_Block::task ()
34 JAWS_Data_Block::io_handler ()
36 return this->io_handler_
;
39 JAWS_Dispatch_Policy
*
40 JAWS_Data_Block::policy ()
46 JAWS_Data_Block::payload ()
48 return this->payload_
;
52 JAWS_Data_Block::task (JAWS_Pipeline_Handler
*taskp
)
58 JAWS_Data_Block::io_handler (JAWS_IO_Handler
*handlerp
)
60 this->io_handler_
= handlerp
;
64 JAWS_Data_Block::policy (JAWS_Dispatch_Policy
*policyp
)
66 this->policy_
= policyp
;
70 JAWS_Data_Block::payload (void *payloadp
)
72 this->payload_
= payloadp
;