TwclMessageReceiver Class

The Wireless Communication Library message receiver.

Namespace: wclMessaging
TObject
  wclMessaging.TwclMessageReceiver
type
 TwclMessageReceiver = class
 end;

The TwclMessageReceiver type exposes the following members.

Show:
 NameDescription
Create

Creates new message receiver object.

Destroy

Frees the message receiver.

Top
Show:
 NameDescription
Id

Gets the receiver's ID.

Listening

Gets the receiver status.

Method

Gets a message processing method supported by the message receiver.

OpenThreadId

Gets an ID of a thread that was used to call the Open method.

Top
Show:
 NameDescription
Close

Closes the message receiver.

DoMessage(TwclMessage)

Calls the OnMessage event

Open(TwclMessageProcessingMethod)

Opens the message receiver.

Post(TwclMessage,Boolean)

Places a message to the messages queue and starts processing the messages.

ProcessAllMessages

Processes all messages in the messages queue.

Top
Show:
 NameDescription
OnMessage

The event called when new message was received.

Top