A string constant identifies the specific event, and you can have one or more constants in each event class.
一个字符串常量识别一个特定事件,一个事件类中可以有一个或多个常量。
In the specific context of JCSP, an abstract class called Guard is provided, which must be subclassed by event objects that are competing for selection by a process.
在JCSP的特定上下文中,提供了一个叫作Guard的抽象类,竞争进程选择的事件必须继续它。
As part of the one-time setup, provide an event handler subscribed to that specific type of CustomEvent on the WjcDispenser instance or class.
作为一次性设置的一部分,在WjcDispenser实例或类上提供一个订阅到特定类型的CustomEvent的事件处理程序。
应用推荐