the purpose of this handler is to route soap messages.
这个处理器的目的是用来路由soap消息。
this can be achieved by setting a global flag in the handler code and checking for the flag after completion of the critical part.
这可以通过在信号处理程序代码中设置一个全局标志并在完成关键部分的代码之后检查这个标志来实现。
when that condition happen, a handler can choose to handle it, or pass it along to the next handle.
当条件发生时,处理器可以选择去处理它或是把它交给下一个处理器处理。
the only thing you should normally do inside a signal handler is set a global flag that will be processed later.
在一个信号处理器内部,您通常应该做的一件事是,设置一个将在以后处理的全局标记。
i can tie all this together with one final piece of code, which will actually create the dynamic proxy classes and attach the correct invocation handler to it.
我可以把所有这些捆绑在一起,形成最后的代码片断,这段代码会实际建立动态代理类,为它加上正确的调用处理程序。
it then uses the handler for call-backs into your code as it processes the input document.
然后,在对输入文档进行处理的时候,它使用代码中的处理程序作为回调。
when an event that is hooked occurs, browsers call its event handler and wait for it to return before continuing on to the next event.
当连接的事件发生时,浏览器调用它的事件处理器,并等待它返回,然后再继续处理下一个事件。
in other words, you require the notification handler to not only notify the users but also drive the corresponding peer-to-peer workflow.
换句话说,您需要通知处理器的支持,它不仅用来向用户通报,而且也管理相应的对等工作流程。
the success handler creates an html list element for every value and appends it to the list.
成功处理程序为每一个值创建一个html清单元素并将其添加到清单中。
lastly, create the http resource handler for this model.
最后,为这个模型创建http资源处理器。
and you can do this with the flexibility of using a global handler or a different one on each node as you see fit.
可以根据需要灵活选择使用全局处理程序或者对每一个节点使用不同的处理程序完成这项工作。
you can reuse the same handler class as before, but rather than run it on the server, you will use it as a client.
您可以像前面那样重用相同的处理程序类,但不是在服务器上运行它,相反,您将它用作一个客户端。
it provides an event handler for each menu option.
它为每一个菜单选项提供事件处理程序。
but this must be done with care, because placing an object on a chain is not atomic, and if it is interrupted by another signal handler that does the same thing, you could 「lose」 one of the objects.
不过这必须要小心进行,因为将一个对象 添加到一个链并不是原子操作,如果它被另一个做同样动作的信号处理器打断,那么就会「丢失」一个对象。
to see why, imagine you have a button in your application. you want to do some work when the button is clicked, so you add an event handler to it.
为了了解原因,您可以设想应用程序上有一个按钮,单击按钮时要做一些工作,于是您对它添加了一个事件处理程序。