#include <dce_rpc_pac.h>
Collaboration diagram for BinPAC::context_handle:

Public Member Functions | |
| context_handle () | |
| ~context_handle () | |
| int | parse (const uint8 *const t_begin_of_data, const uint8 *const t_end_of_data, int t_byteorder) |
| uint32 const & | cxt_attributes () const |
| uuid *const & | cxt_uuid () const |
Protected Attributes | |
| uint32 | cxt_attributes_ |
| uuid * | cxt_uuid_ |
|
|
Definition at line 42 of file dce_rpc_pac.cc. References cxt_attributes_, and cxt_uuid_.
00043 {
00044 cxt_attributes_ = 0;
00045 cxt_uuid_ = 0;
00046 }
|
|
|
Definition at line 48 of file dce_rpc_pac.cc. References cxt_uuid_.
00049 {
00050 delete cxt_uuid_;
00051 }
|
|
|
Definition at line 57 of file dce_rpc_pac.h. References cxt_attributes_, and BinPAC::uint32.
00057 { return cxt_attributes_; }
|
|
|
Definition at line 58 of file dce_rpc_pac.h. References cxt_uuid_.
00058 { return cxt_uuid_; }
|
|
||||||||||||||||
|
Definition at line 53 of file dce_rpc_pac.cc. References BinPAC::bigendian, cxt_attributes_, cxt_uuid_, BinPAC::uuid::parse(), and BinPAC::uint8. Referenced by BinPAC::epmapper_map_resp::parse(), and BinPAC::epmapper_lookup_req::parse().
00054 {
00055 // Checking out-of-bound for "context_handle:val"
00056 if ( t_begin_of_data + (20) > t_end_of_data )
00057 {
00058 // Handle out-of-bound condition
00059 throw ExceptionOutOfBound("context_handle:val",
00060 (0) + (20),
00061 (t_end_of_data) - (t_begin_of_data));
00062 }
00063 // Parse "cxt_attributes"
00064 cxt_attributes_ = UnMarshall<uint32>(t_begin_of_data, cxt_attributes_, t_byteorder);
00065
00066 // Parse "cxt_uuid"
00067 cxt_uuid_ = new uuid();
00068 cxt_uuid_->parse((t_begin_of_data + 4), t_end_of_data, bigendian);
00069
00070 return 20;
00071 }
|
|
|
Definition at line 61 of file dce_rpc_pac.h. Referenced by context_handle(), cxt_attributes(), and parse(). |
|
|
Definition at line 62 of file dce_rpc_pac.h. Referenced by context_handle(), cxt_uuid(), parse(), and ~context_handle(). |
1.3.5