Habari STOMP Client for OpenMQ 9.0
Object Pascal STOMP client library for OpenMQ
Loading...
Searching...
No Matches
TBTStompDecoder Class Reference
Inheritance diagram for TBTStompDecoder:

Public Member Functions

 TBTStompDecoder ()
 
IStompFrame CreateFrame (const string Header, TStompProtocolVersion Version)
 Converts a string containing a STOMP header into an IStompFrame.
 

Constructor & Destructor Documentation

◆ TBTStompDecoder()

TBTStompDecoder::TBTStompDecoder ( )

Member Function Documentation

◆ CreateFrame()

IStompFrame TBTStompDecoder::CreateFrame ( const string Header,
TStompProtocolVersion Version )

Converts a string containing a STOMP header into an IStompFrame.

The body (message payload) is left empty and must be assigned separately. The string must be terminated with a line feed (octet 10).

Parameters
HeaderSTOMP header, terminated with a line feed (octet 10).
Versionthe STOMP protocol version as indicated in the CONNECTED frame