[Overview][Constants][Types][Procedures and functions] | Reference for unit 'dbugmsg' (#fcl) |
Structure describing a message
Source position: dbugmsg.pp line 34
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 |
No notes exist for this page yet.