message handler
[计][通信] 报文处理程序
2026-03-21 19:55 浏览次数 13
[计][通信] 报文处理程序
the 「glue code」 we need to write for form1 is just a line in the message handler to request the business layer execute the appropriate logic.
我门需要在消息处理中为form1写一行「粘合代码」,请求业务层执行适当的逻辑。
this is used to determine how many message handler tasks are active.
该参数用于确定需要激活多少message handler任务。
write a web service message handler
编写web服务消息处理程序
now that the message handler and adapter are finished, you add the methods to buddynoteview that respond to these events in the view part.
现在已经準备好了消息处理程序和适配器,将向buddynoteview添加在视图部件中响应事件的方法。
the controller is responsible for starting message handler tasks to process the messages arriving on the queues.
controller负责启动message handler任务来处理到达队列的消息。
number of messages on queue that would trigger the controller to start a new message handler task.
当队列中的消息数量达到该值时,将触发controller启动新的message handler任务。
the first step that your message handler should take is to examine the event passed in from the platform and return it immediately if it is not relevant.
因此,消息处理程序应当首先检查由平台传入的事件,如果该事件与您的插件无关,那么立即返回此事件。
one way is to use a soap message handler (hereafter i「ll also call them handlers), even though handlers are used most commonly for soap header processing.
一种方法是使用soap消息处理程序(以下简称处理程序);不过处理程序最常用于进行soapheader处理。
it provides information about the message handler programs that act on a service request and on the response.
它提供作为服务请求和响应的消息处理程序的信息。
the message handler is responsible for getting messages from the queue and dispatching the appropriate business transaction to process the messages.
message handler负责从队列中获得消息,并将其分配给适当的业务事务以进行处理。
the main reason to develop a message handler is to save the data used in preparing the call to invoke the web service.
开发消息处理程序的主要目的是保存準备调用web服务时使用的数据。
however, the bus object that runs on the web server dispatches each of these logical messages one at a time to the message handler above.
而web服务器上的bus对象则每次只会向如上的消息处理器发出一条逻辑消息。
a message handler adapter is specified in the extension manifest as the class associated with the *messages.messagehandlerlistener extension point.
在扩展清单中,将一个消息处理程序适配器指定为与 *messages.messagehandlerlistener扩展点相关的类。
but here we use the call back function of second drive class with the first window, so we can」t executer the message handler of first window.
但在这里我们使用了回调的第二个驱动器类功能的第一个窗口,所以我们不能执行器的第一个窗口的消息处理程序。
now the message handler has been configured.
这样就完成了消息处理程序的配置。
the adapter code simply decides the appropriate message handler to be used.
适配器代码仅仅确定要使用的适当的消息处理程序。
this is useful when debugging or when you want a catch-all message handler as the last message handler .
该选项可用于调试或希望将一个捕获所有消息的处理程序作为最后的消息处理程序的情况。
whenever the web service is invoked, a message handler reads the body of the request and saves the whole body in the body_of_request static variable.
调用web服务时,消息处理程序将读取请求的主体,并将整个主体保存在 body_of_request静态变量中。
to configure a message handler in this case, instantiate a handlerinfo by passing your message-handler class name as
要在这种情况下配置消息处理程序,请通过按以下方式传入消息处理程序类名称来实例化 handlerinfo
the trouble with this approach is that your message handler is called many times to notify you of events that are not relevant for your plug-in.
这种方法的弊端是,消息处理程序将被多次调用来向您通知事件,而这些事件可能与您的插件无关。
each message handler receives a copy of the trigger message and then
每个message handler 在接收到一个触发消息副本后,将会
the code in listing 8 uses dojo cometd to initialize the web messaging servlet, subscribe the /charttopic topic, and register the web message handler at the client side.
清单8中的代码使用dojocometd初始化web消息传递servlet,提交 /charttopic主题,并在客户端注册web消息处理程序。
links (exec cics link) to the cics business application (each message handler needs logic to decide which program to call.
链接 (execcicslink)到cics业务应用程序(每个消息处理程序都需要进行逻辑判断以决定要调用哪个程序。