|
KDIS
2-8-x
|
#include <Bundle.h>

Public Member Functions | |
| void | AddPDU (const KDataStream &K) throw ( KException ) |
| Throws exeption PDU_TOO_LARGE if the total bundles length is greater than MAX_PDU_SIZE. More... | |
| void | AddPDU (PduPtr H) throw ( KException ) |
| Bundle () | |
| void | ClearPDUs () |
| Description: Clears stored PDUs. More... | |
| virtual KDataStream | Encode () const |
| Description: Convert To Network Data. More... | |
| virtual void | Encode (KDataStream &stream) const |
| virtual KString | GetAsString () |
| Description: Returns a string representation of the PDU. More... | |
| KUINT16 | GetLength () |
| Description: Returns total length of all PDU in bytes. More... | |
| const std::vector< KDataStream > & | GetPDUStreams () const |
| Description: Gets the stored PDU stremas or referenced PDUs. More... | |
| const std::vector< PduPtr > & | GetRefPDUs () const |
| KBOOL | operator!= (const Bundle &Value) const |
| KBOOL | operator== (const Bundle &Value) const |
| void | SetPDUs (const std::vector< KDataStream > &P) throw ( KException ) |
| Throws exeption PDU_TOO_LARGE if the total bundles length is greater than MAX_PDU_SIZE. More... | |
| void | SetPDUs (const std::vector< PduPtr > &P) throw ( KException ) |
| void | SetPDUs (const std::vector< KDataStream > &Streams, const std::vector< PduPtr > &References) throw ( KException ) |
| virtual | ~Bundle () |
Protected Member Functions | |
| void | calculateLength () |
| Description: Calculate the total length of the Bundle. More... | |
Protected Attributes | |
| KUINT16 | m_ui16Length |
| std::vector< PduPtr > | m_vRefHeaders |
| std::vector< KDataStream > | m_vStreams |
| Bundle | ( | ) |
|
virtual |
|
protected |
Description: Calculate the total length of the Bundle.
| void AddPDU | ( | const KDataStream & | K | ) | |
| throw | ( | KException | |||
| ) | |||||
| void AddPDU | ( | PduPtr | H | ) | |
| throw | ( | KException | |||
| ) | |||||
| void SetPDUs | ( | const std::vector< KDataStream > & | P | ) | |
| throw | ( | KException | |||
| ) | |||||
Throws exeption PDU_TOO_LARGE if the total bundles length is greater than MAX_PDU_SIZE.
Description: Set multiple PDU.
| void SetPDUs | ( | const std::vector< PduPtr > & | P | ) | |
| throw | ( | KException | |||
| ) | |||||
| void SetPDUs | ( | const std::vector< KDataStream > & | Streams, |
| const std::vector< PduPtr > & | References | ||
| ) | |||
| throw | ( | KException | |
| ) | |||
| const std::vector<KDataStream>& GetPDUStreams | ( | ) | const |
Description: Gets the stored PDU stremas or referenced PDUs.
| const std::vector<PduPtr>& GetRefPDUs | ( | ) | const |
| void ClearPDUs | ( | ) |
Description: Clears stored PDUs.
|
virtual |
Description: Convert To Network Data.
|
virtual |
|
protected |
|
protected |
|
protected |