如果不希望传入一个参数,您可以添加一个方法,客户机可以使用该方法来查询被调用程序的线程ID。
If you don't want to pass in a parameter, you could add a method with which the client can query the thread ID of the called program.
然而,您可能认为这样是不必要的,并且只会给跟踪输出添加更多混乱,因为您必须将该随机数作为一个参数传递给被调用的程序。
You may, however, decide that this is unnecessary and only adds more clutter to the trace output, given that you have to pass the random number as a parameter to the called programs.
被调用的程序以一个 XML 文档的形式接收警报相关信息。
The called program is passed information about the alert as an XML document.
应用推荐