Public Member Functions | |
nBandwidthTaskMessage (nType type, nMessage &message) | |
nMessage & | Message () const |
Protected Member Functions | |
virtual void | DoExecute (nSendBuffer &buffer, nBandwidthControl &control) |
virtual int | DoEstimateSize () const |
Private Attributes | |
tJUST_CONTROLLED_PTR< nMessage > | message_ |
Definition at line 381 of file nPriorizing.cpp.
nBandwidthTaskMessage::nBandwidthTaskMessage | ( | nType | type, | |
nMessage & | message | |||
) |
Definition at line 402 of file nPriorizing.cpp.
00403 :nBandwidthTask( type ), message_( &message ) 00404 { 00405 }
nMessage& nBandwidthTaskMessage::Message | ( | ) | const [inline] |
void nBandwidthTaskMessage::DoExecute | ( | nSendBuffer & | buffer, | |
nBandwidthControl & | control | |||
) | [protected, virtual] |
Definition at line 408 of file nPriorizing.cpp.
References nSendBuffer::AddMessage(), and message_.
00409 { 00410 buffer.AddMessage( *message_, &control ); 00411 }
int nBandwidthTaskMessage::DoEstimateSize | ( | ) | const [protected, virtual] |
Definition at line 414 of file nPriorizing.cpp.
References message_.
00415 { 00416 return message_->DataLen(); 00417 }
tJUST_CONTROLLED_PTR< nMessage > nBandwidthTaskMessage::message_ [private] |