Public Types |
| enum | { ECG_DEFAULT_FRAGMENT_BUFSIZ = 8
} |
Public Methods |
| | ~TAO_ECG_UDP_Request_Entry (void) |
| | TAO_ECG_UDP_Request_Entry (CORBA::Boolean byte_order, CORBA::ULong request_id, CORBA::ULong request_size, CORBA::ULong fragment_count) |
| | Initialize the fragment, allocating memory, etc.
|
| int | validate_fragment (CORBA::Boolean byte_order, CORBA::ULong request_size, CORBA::ULong fragment_size, CORBA::ULong fragment_offset, CORBA::ULong fragment_id, CORBA::ULong fragment_count) const |
| | Validate a fragment, it should be rejected if it is invalid..
|
| int | test_received (CORBA::ULong fragment_id) const |
| | Has <fragment_id> been received?
|
| void | mark_received (CORBA::ULong fragment_id) |
| | Mark <fragment_id> as received, reset timeout counter...
|
| int | complete (void) const |
| | Is the message complete?
|
| char* | fragment_buffer (CORBA::ULong fragment_offset) |
| | Return a buffer for the fragment at offset <fragment_offset>.
|
| void | decode (RtecEventComm::EventSet& event, CORBA::Environment &env = TAO_default_environment ()) |
| | Decode the events, the message must be complete.
|
| void | inc_timeout (void) |
| | Increment the timeout counter...
|
| int | get_timeout (void) const |
| | Get the timeout counter....
|
Private Attributes |
| CORBA::Boolean | byte_order_ |
| | This attributes should remain constant in all the fragments, used for validation....
|
| CORBA::ULong | request_id_ |
| CORBA::ULong | request_size_ |
| CORBA::ULong | fragment_count_ |
| CORBA::ULong | timeout_counter_ |
| ACE_Message_Block | payload_ |
| CORBA::ULong* | received_fragments_ |
| | This is a bit vector, used to keep track of the received buffers.
|
| int | own_received_fragments_ |
| CORBA::ULong | received_fragments_size_ |
| CORBA::ULong | default_received_fragments_ [ECG_DEFAULT_FRAGMENT_BUFSIZ] |
When a request arrives in fragments this object is used to keep track of the incoming data.