[Overview][Constants][Types][Procedures and functions][Index] |
Structure describing a message
Source position: dbugmsg.pp line 35
type TDebugMessage = record |
||
MsgType: Integer; |
|
Constant, identifying the type of message |
MsgTimeStamp: TDateTime; |
|
Time when the message was generated |
Msg: string; |
|
String containing the message text. |
end; |
TDebugMessage is a record that describes the message passed from the client to the server. It should not be passed directly in shared memory, as the string containing the message is allocated on the heap. Instead, the WriteDebugMessageToStream and ReadDebugMessageFromStream can be used to read or write the message from/to a stream.
|
Read a message from stream |
|
|
Write a message to stream |