Fnd_Msg
10 shared methods.
- Fnd_Msg_BackgroundProcess
- Fnd_Msg_BlobToPicture
- Fnd_Msg_Broadcast
- Fnd_Msg_Get
- Fnd_Msg_GetParameter
- Fnd_Msg_Info
- Fnd_Msg_PackParameters
- Fnd_Msg_PictureToBlob
- Fnd_Msg_QuitBackgroundProcess
- Fnd_Msg_Send
Fnd_Msg_BackgroundProcess
Fnd_Msg_BackgroundProcess
Runs in a background process that diligently tries to make sure everybody receives their messages.
Called as a new process from the Fnd_Msg_Send method.
No parameters.
Fnd_Msg_BlobToPicture
Fnd_Msg_BlobToPicture (->blob; ->picture)
Converts a blob to a picture.
| Parameter | Type | Direction | Description |
|---|---|---|---|
blob | Pointer | in | A pointer to a blob |
picture | Pointer | in | The same blob as a picture variable |
Fnd_Msg_Broadcast
Fnd_Msg_Broadcast (process name; message)
Sends the message out to all processes with the specified name.
The name can contain wildcard characters.
| Parameter | Type | Direction | Description |
|---|---|---|---|
broadcastName | Text | in | The process name to send to |
message | Text | in | The message to send |
Fnd_Msg_Get
Fnd_Msg_Get ({->blob}) --> Text
Gets the next message queued up for the current process.
| Parameter | Type | Direction | Description |
|---|---|---|---|
inBlob | Pointer | in | For receiving an optional blob (optional) |
Result | Text | out | The message |
Fnd_Msg_GetParameter
Fnd_Msg_GetParameter (parameters string; num) --> Text
Gets parameters out of the message. Also see Fnd_Msg_PackParameters.
| Parameter | Type | Direction | Description |
|---|---|---|---|
inParameterList | Text | in | A string full of parameters |
inParameterList | Number | in | The parameter number to get |
Result | Text | out | The parameter value |
Fnd_Msg_Info
Fnd_Msg_Info (label) --> Text
Returns requested information. See the Fnd_Gen_ComponentInfo method for more information.
| Parameter | Type | Direction | Description |
|---|---|---|---|
request | Text | in | Info desired ("version" or "name") |
Result | Text | out | Response |
Fnd_Msg_PackParameters
Fnd_Msg_PackParameters (msg; param 1 {... param N}) --> Text
Adds the text parameters to the messasge using the same delimiter expected by the Fnd_Msg_GetParameter routine. This isn't rocket science, it's just easier to maintain than creating the message string in multiple methods.
| Parameter | Type | Direction | Description |
|---|---|---|---|
$1 | Text | in | The message to append parameter to |
$2..$n | Text | in | The parameters to add to the message |
$0 | Text | out | The delimited paramters |
Fnd_Msg_PictureToBlob
Fnd_Msg_PictureToBlob (->picture; ->blob)
Converts a picture to a blob.
| Parameter | Type | Direction | Description |
|---|---|---|---|
picture | Pointer | in | A pointer to the picture |
blob | Pointer | in | A pointer to the blob to fill |
Fnd_Msg_QuitBackgroundProcess
Fnd_Msg_QuitBackgroundProcess
Ends the message loop background process.
If there are messages still waiting to be delivered, this process waits until a timeout period is reached so hopefully the messages will get delivered.
No parameters.
Fnd_Msg_Send
Fnd_Msg_Send (target process; message; {->blob})
Call this method to send a message to another process.
| Parameter | Type | Direction | Description |
|---|---|---|---|
targetProcessNumber | Longint | in | The process to send the message to |
targetProcessNumber | Text | in | The message to send |
targetProcessNumber | Blob | in | A blob (optional) |