下一个主题是如何定义这些类中的配置文件来保护队列管理器及其资源。
The next topic is how profiles in these classes can be defined to protect a queue manager and its resources.
这些类还允许访问关于消息队列上的某条消息的信息。
The classes also allow access to information about a message on a message queue.
本部分介绍消息队列框架的主要功能和特性,描述主要类和方法,并提供如何使用框架的示例。
This section describes the major functions and features of the message queue framework, describes major classes and methods, and provides an example of how use the framework.
它们分别是消息队列框架接口包中每个抽象类和接口的实现。
These are the respective implementations of each abstract class and interface in the message queue framework interface package.
这些类还可以处理输出队列和后台打印文件,回答后台打印文件的消息,执行其他打印相关任务。
These classes can also work with output queues and spooled files, answer messages for spooled files and do other print related tasks.
这些打印类用于检索后台打印文件、输出队列、打印机以及其他打印资源的列表。
These print classes are used to retrieve lists of spooled files, output queues, printers, and other print resources.
下面的类是一种常见的并行实用程序模型:任务队列。
The following class is a model of a common concurrent utility: a work queue.
在旧的规范下,必须专门为队列或主题编写应用程序代码,因为类本身是特定于域的。
Under the older specification, the application code had to be written specifically for queues or topics because the classes themselves were domain-specific.
IBMi消息、消息队列和消息文件通过消息类访问。
IBM I messages, message queues, and message files are accessed using the message classes.
逻辑工作线程从队列中渠道任务,进行处理,并通过使用一些类提供的函数将结果返回。
The logical workers take the job from the queue, and process it and send back the result by using some of the functions provided by the class.
程序员可以使用这些类来与消息队列交互,发送、接收或回答消息。
A programmer can use the classes to interact with a message queue allowing messages to be sent, received, or replied to.
MQ cmds类中的概要文件控制对DEFINEQLOCAL等命令的访问,这些命令用于定义和修改队列。
Profiles in the MQCMDS class control access to commands (such as define QLOCAL) that provide the ability to define or alter a queue.
通道启动程序的用户ID对保护队列及其上下文的MQQUEUE和mqadmin类的访问级别。
The level of access the channel initiator's user ID has to the MQQUEUE and MQADMIN class profiles that protect queues and their context.
队列类的构造函数和析构函数负责创建和销毁互斥锁,见清单1。
The constructor and destructor of the queue class are responsible for the creation and destruction of the mutex, as shown in Listing 1.
对于设计级别的类(诸如树、堆栈、队列、集合等等)可以在后面的阶段完成(如设计阶段)。
The identification of design-level classes (e.g., trees, stacks, queues, collections, etc.) should be deferred to a later discipline (i.e. design).
在这个类的run方法中,从队列中的各个线程获取web页面、文本块,然后使用BeautifulSoup处理这个文本块。
In the run method of this class, grab the Web page, chunk, from off of the queue in each thread, and then process this chunk with Beautiful Soup.
在带宽的类(band width)中使用queue -limit命令设置不同的队列方法。
Varies with queueing method. Use the queue-limit command with a bandwidth class.
抽象类BundleMessage标识与消息队列关联的消息并提取其通用功能。
Class BundleMessage identifies a message associated with a message queue and abstracts its common functions.
在MQCON n类中为队列管理器定义了4个不同的概要文件。
There are four different profiles defined for a queue manager in the MQCONN class.
现在,我们不是在代码中直接使用队列和主题,而是使用通用基类(例如Destination)来产生消息。
Now, instead of using queues and topics directly in the code, we can use generic base classes, such as Destination, to produce the message.
表4显示消息队列框架引用实现包中所包含的类的描述。
The description of the classes contained in the message queue framework reference implementation package is shown in Table 4.
MQCON n类中的配置文件控制哪些userids有权连接队列管理器。
The profiles in the MQCONN class control which userids have authorization to connect to the queue manager.
publisherhelper类在JMS主题队列上发布通知消息。
PublisherHelper class publishes a notification message on the JMS topic queue.
web界面使用mailout s类将电子邮件添加到队列中。
The Web interface USES the mailouts class to add an E-mail to the queue.
通过调用 message_queue类的receive方法从队列获取消息。
The individual messages are obtained from the queue by calling the receive method of the message_queue class.
另一个常见的线程模型是为某一类型的任务分配一个后台线程与任务队列。
Another common threading model is to have a single background thread and task queue for tasks of a certain type.
这些类是具有无等待端的队列,在这里,一个NHRT可以请求读或写某些数据(具体取决于类),而不存在阻塞的风险。
These are queues that have a wait free side where an NHRT can request to read or write some data (depending on the class) without the danger of blocking.
通过消息队列基础设施的数据可以大致分为两类:查询和业务关键型数据。
Data that passes through a message queuing infrastructure can be broadly separated into two categories: query and business-critical.
第二类,即本地定义的资源,包括应用程序队列、通道和主题等。
The second category, resources that you define locally, includes things like application queues, channels, and topics.
mqadmin类中的其他概要文件控制命令资源的安全性,即定义具有特定名称的队列的权限,例如任何以app 1开头的队列。
Then additional profiles in the MQADMIN class control command resource security, that is, the authority to define queues that have a specific name, for example any queues that begin with APP1.
应用推荐