meetingtask.java

来自「aglet的部分源码」· Java 代码 · 共 52 行

JAVA
52
字号
package com.ibm.agletx.util;/* * @(#)MeetingTask.java *  * IBM Confidential-Restricted *  * OCO Source Materials *  * 03L7246 (c) Copyright IBM Corp. 1996, 1998 *  * The source code for this program is not published or otherwise * divested of its trade secrets, irrespective of what has been * deposited with the U.S. Copyright Office. */import com.ibm.agletx.patterns.Meeting;/** * This class objectifies a task to be perform upon arrival to a meeting. *  * @version     1.20    $Date: 2001/07/28 06:33:38 $ * @author      Yariv Aridor * @see MeetingsItinerary */public abstract class MeetingTask extends Task {	private Meeting meeting = null;	public MeetingTask(Meeting meeting) {		this.meeting = meeting;	}	/**	 * Aglet programers should not modify this method	 */	public void execute(SeqItinerary itin) throws Exception {		execute(itin, meeting.ready(itin.getOwnerAglet().getAglet()));	}	/**	 * Define the task to be performed upon arrival to a meeting	 * @param itin the  MeetingsItinerary object	 * @param participants enumeration of the current participants in the meeting.	 * @exception Exception if failed to perform the task	 */	public abstract void execute(SeqItinerary itin, java.util			.Enumeration participants) throws Exception;	public Meeting getMeeting() {		return meeting;	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?