TROMessageEnvelopeCollection
Overview
TROMessageEnvelopeCollection is used internally by TROMessage to implement the Message Envelopes stack. It contains a sequence of TROMessageEnvelopeItem which used for traffic encryption as described in the How to secure your communication article.
Location
- Unit: uROMessage.pas
- Ancestry: TCollection | TROMessageEnvelopeCollection
Properties
Items
This property allows the collection content to be accessed by index.
property Items[Index: Integer]: TROMessageEnvelopeItem read
Instance Methods
constructor Create
Creates a new instance.
constructor Create(aMessage: TROMessage)
Parameters:
- aMessage: owner
ItemByEnvelope
Returns the first TROMessageEnvelopeItem with the given envelope
, or nil if none can be found.
function ItemByEnvelope(const aEnvelope: TROMessageEnvelope): TROMessageEnvelopeItem
Parameters:
- aEnvelope: envelope
ItemByMarker
Returns the first TROMessageEnvelopeItem with the given marker
, or NIL if none can be found.
function ItemByMarker(const aMarker: string): TROMessageEnvelopeItem
Parameters:
- aMarker: envelope marker