MessageRegexProxy Class
(Automation::MessageRegexProxy)The MessageRegexProxy
is a message operator to send copies of received CM_TEXTCOMMAND text messages to one or multiple targets, based on POSIX regular expression match. More...
Header: | #include <MessageRegexProxy.h> |
Inherits: | CDPOperator<bool> |
Additional Inherited Members
- 18 public functions inherited from CDPOperator
- 17 public functions inherited from CDPOperatorBase
- 46 public functions inherited from CDPBaseObject
- 26 public functions inherited from CDP::StudioAPI::CDPNode
- 22 public functions inherited from CDP::StudioAPI::ICDPNode
- 1 public variable inherited from CDPOperatorBase
- 1 static public member inherited from CDPBaseObject
- 1 protected function inherited from CDP::StudioAPI::CDPNode
- 8 protected variables inherited from CDPOperator
- 5 protected variables inherited from CDPOperatorBase
- 11 protected variables inherited from CDPBaseObject
Detailed Description
The MessageRegexProxy
is a message operator to send copies of received CM_TEXTCOMMAND text messages to one or multiple targets, based on POSIX regular expression match.
MessageRegexProxy
is similar to MessageProxy operator allowing to forward messages from the input to the output arguments. The only difference is that for every MessageRegexProxyOut output argument there is a Search
property for regular expression search pattern. The incoming message will be forwarded to that output argument only when the message matches the regular expression.
- It is possible to convert incoming CM_TEXTCOMMAND messages to other CM_TEXTCOMMAND commands by setting the received and sent TextCommand property on the (input and/or) output
MessageArgument
.
Note: It is important to keep in mind that MessageRegexProxy will replace the Origin of the message and for that reason is not suitable for forwarding messages that require ACK handling or response
See also MessageArgument and MessageRegexProxyOut.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.