Create a new message by using the boto message class, as shown in Listing 8.
使用botomessage类创建新消息,见清单8。
There is a subclass of the base message class specific to each type of message.
Message基类的一个子类特定于消息的具体类型。
Modifying message class — for modifying a message as it passes through the node.
消息修改类,用于在消息通过该节点时对其进行修改。
The message class is a wrapper around the payload of the message being processed.
Message类是个包装器,包装被处理消息的有效负载。
Creating message class — for the creation of a new message which is propagated by the flow.
消息创建类,用于创建由流进行传播的新消息。
Use semicolons to separate multiple message class names.
用分号来分隔多个讯息类别名称。
Filtering message class — for routing within a message flow based on the contents of a message.
消息筛选类,用于在消息流中根据消息的内容对其进行路由。
Message type indicator (MTI) — Four numeric digits that specify the version of the ISO8583 standard, message class, message function, and message origin.
消息类型指示符(MTI)——4个数字,指定ISO 8583标准的版本、消息类型、消息功能和消息的发起位置。
The Message class simply defines two fields: id and text.
message类只定义两个字段:id和text。
The Message class implements two constructors, as shown in Listing 7.
message类实现两个构造器,如清单7所示。
The Message class implements two constructors, as shown in Listing 7.
message类实现两个构造器,如清单7所示。
应用推荐