Send is a method that forms the event connector packet using the event name and data.
Send是一个使用事件名和数据组成事件连接器包的方法。
The connector format must be set to connector packet for the event to be triggered correctly.
必须将连接器格式设置为Connector Packet,才能正确地触发事件。
The Connector Packet format, as shown in Listing 1, is a common format for both events and actions.
Connector packet格式如清单1所示,是一个事件和操作的常用模式。
The wire format of the event has two parts: an HTTP request header and the event payload (which is the event connector packet).
事件传输格式有两部分:一个HTTP请求头和事件有效载荷(是事件连接器包)。
Let's create an object called WBEEvent that can take event data, construct an event connector packet, and send it to Business Events.
让我们创建一个名为WBEEvent的对象,获取事件数据,构建一个事件连接器包,并将其发送给Business Events。
The name of this object is important because we'll assume the event object name is
该对象名是很重要的,因为在组成连接器包示例中,我们假设事件对象名是
You built an object which can collect event data, constructed the event in the connector packet form and send it to Business Events using the REST interface.
我们建立了一个可以收集事件数据的对象,构建了connector packet格式的事件,并使用REST接口将其发送到BusinessEvents。
Repeat these steps for the Sell event, specifying Connector Packet as the format, contact frequency as 1 minute, and c: \ WBE \ test \ Sell as the directory.
对Sell事件重复这些步骤,并指定Connector Packet作为格式,将联系频率指定为1分钟,指定c: \WBE \test \ Sell作为目录。
Repeat these steps for the Sell event, specifying Connector Packet as the format, contact frequency as 1 minute, and c: \ WBE \ test \ Sell as the directory.
对Sell事件重复这些步骤,并指定Connector Packet作为格式,将联系频率指定为1分钟,指定c: \WBE \test \ Sell作为目录。
应用推荐