Torque 3D - Script Manual: MessageForwarder Class Reference

TorqueScript

Main   Class List   Namespace List   Online

MessageForwarder Class Reference
[Messaging]

Forward messages from one queue to another. More...

Inheritance diagram for MessageForwarder:

List of all members.

Public Attributes

caseString toQueue
 Name of queue to forward to.

Detailed Description

Forward messages from one queue to another.

MessageForwarder is a script class that can be used to forward messages from one queue to another.

Example:
%fwd = new MessageForwarder()
{
   toQueue = "QueueToSendTo";
};

registerMessageListener("FromQueue", %fwd);

Where "QueueToSendTo" is the queue you want to forward to, and "FromQueue" is the queue you want to forward from.


Member Data Documentation

Name of queue to forward to.



Copyright © GarageGames, LLC. All Rights Reserved.