这里是创建互斥的示例代码(见下面的6和7)。
Here's the sample code for creating a mutex (see Listings 6 and 7 below).
MyTtWebClient的核心是称为MyTwitterServlet(完整源代码,请参见下面的下载部分)的servlet。
The heart of MyTtWebClient is a servlet called MyTwitterServlet (the full source code is available in the Download section below).
参见下面清单20中的代码范例。
参见下面清单16中的代码范例。
参见下面清单17中的代码范例。
参见下面清单19中的代码范例。
参见下面清单11中的代码范例。
参见下面清单4中的代码范例。
参见下面清单13中的代码范例。
参见下面清单15中的代码范例。
参见下面清单10中的代码范例。
参见下面清单6中的代码范例。
参见下面清单3中的代码范例。
参见下面清单9中的代码范例。
参见下面清单14中的代码范例。
参见下面清单12中的代码范例。
参见下面清单7中的代码范例。
参见下面清单5中的代码范例。
参见下面清单8中的代码范例。
这些代码行调用一个方法来设置XADataSource(参见下面)。
These code lines call a method to set up an XADataSource (see below).
现在,我们已经获得了中介的框架类,接下来可以开始对其填充代码了,请首先添加我们将稍后使用的包和一些导入语句(请参见下面的清单1)。
Now that we have a skeleton class for our mediation we can begin to populate it with code, starting with a package and some import statements that we will make use of later (see Listing 1 below).
前缀由WebSphereProcessServer生成,不应该对其进行更改,请参见下面的代码。
The prefix is generated by WebSphere Process Server, and it should not be changed, see the following code.
随着消息被分发给收件人,SametimePostService将根据结果更新事件发布者(参见下面的代码片段)。
As the message gets delivered to recipients, Sametime Post Service keeps the event publisher updated about the results (see the following code snippet).
发布者对象创建一个SametimePost对象,然后设置其标题、消息正文以及收件人(参见下面的示例代码)。
The publisher object creates a Sametime Post object, and then sets its title, message body, and recipients (see the following code sample).
可以通过调用 PostEvent参数对象的getPost函数获取消息(Post 对象)(参见下面的示例代码)。
The message (Post object) can be obtained by calling the getPost function of PostEvent parameter object (see the following code sample).
要想了解更全面的信息,请下载并参考Linux密钥实现源代码文件(参见下面的下载)。
For more comprehensive information, download and refer to the Linux key implementation source files (see download, below).
要想了解更全面的信息,请下载并参考Linux密钥实现源代码文件(参见下面的下载)。
For more comprehensive information, download and refer to the Linux key implementation source files (see download, below).
应用推荐