cmisevent.java

来自「CmisJavaApi」· Java 代码 · 共 80 行

JAVA
80
字号
/* * The contents of this file are subject to the Dyade Public License,  * as defined by the file DYADE_PUBLIC_LICENSE.TXT * * You may not use this file except in compliance with the License. You may * obtain a copy of the License on the Dyade web site (www.dyade.fr). * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for * the specific terms governing rights and limitations under the License. * * The Original Code is CmisJava API, including the java package  * fr.dyade.cmis, released September 5, 2000. * * The Initial Developer of the Original Code is Dyade. The Original Code and * portions created by Dyade are Copyright Bull and Copyright INRIA.  * All Rights Reserved. *//*      Copyright 1996-2000 by Institut National de Recherche en Informatique  *                             et en Automatique (INRIA) *          All rights reserved.  See COPYRIGHT in top-level directory. * *      Authors: Laurent Andrey, Eric Dillon, Olivier Festor *///  $Id: CMISEvent.java,v 1.2 2000/09/05 13:04:52 festor Exp $//  $source$////  Todo//package fr.dyade.cmis.api.operation.event;import fr.dyade.cmis.api.CMISStack;/**  * This is the top class for all the CMIS related events (service invocation or requests).  * We provides a "tag" facility to make easier dispatching process.  * Remark: ok, this is UGLY, as java is oo and implements polymorphism.  * But just in case !  * @version cvs $Id: CMISEvent.java,v 1.2 2000/09/05 13:04:52 festor Exp $  */public abstract class CMISEvent  extends java.util.EventObject {      public static final short ACTION_INDICATION_EVENT=1;      public static final short CANCEL_GET_INDICATION_EVENT=2;      public static final short CREATE_INDICATION_EVENT=3;      public static final short DELETE_INDICATION_EVENT=4;      public static final short EVENT_REPORT_INDICATION_EVENT=5;      public static final short GET_INDICATION_EVENT=6;      public static final short SET_INDICATION_EVENT=7;            public static final short ACTION_CONFIRMATION_EVENT=11;      public static final short CANCEL_GET_CONFIRMATION_EVENT=12;      public static final short CREATE_CONFIRMATION_EVENT=13;      public static final short DELETE_CONFIRMATION_EVENT=14;      public static final short EVENT_REPORT_CONFIRMATION_EVENT=15;      public static final short GET_CONFIRMATION_EVENT=16;      public static final short SET_CONFIRMATION_EVENT=17;      public static final short ACTION_COMPLETION_EVENT=21;      public static final short CANCEL_GET_COMPLETION_EVENT=22;      public static final short CREATE_COMPLETION_EVENT=23;      public static final short DELETE_COMPLETION_EVENT=24;      public static final short EVENT_REPORT_COMPLETION_EVENT=25;      public static final short GET_COMPLETION_EVENT=26;      public static final short SET_COMPLETION_EVENT=27;            // event to report internal exceptions that can raise      // in the various threads of one stack implementation.      public static final short INTERNAL_ERROR_EVENT=-1;      protected CMISEvent(CMISEventSource c) {	 super(c);      }      public abstract short getTag();      public abstract CMISStack _getStack();}

⌨️ 快捷键说明

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