MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/local/ssl/share/idl/bonobo-2.0/Bonobo_ItemContainer.idl
/*
 * bonobo-item-container.idl: Implements a generic container for objects
 *
 * Copyright (C) 2000  Helix Code, Inc.
 *
 * Author:
 *	Miguel de Icaza (miguel@helixcode.com)
 */

#ifndef BONOBO_ITEM_CONTAIER_IDL
#define BONOBO_ITEM_CONTAIER_IDL

#include "Bonobo_Unknown.idl"

module Bonobo {

	interface ItemContainer : Unknown {
		typedef sequence<string> ObjectNames;

		/**
		 * enumObjects:
		 *
		 * Returns: a list of names of contained objects
		 */
		ObjectNames enumObjects ();

		/**
		 * NotFound{}:
		 * 
		 * This exception is raised if the specified name could not
		 * be found
		 */
		exception NotFound {};

		/**
		 * SyntaxError{}:
		 *
		 * This exception is launched if there is a syntax error
		 * during the name parsing
		 */
		exception SyntaxError {};

		/**
		 * getObjectByName:
		 * @item_name: Item name to bind to
		 * @only_if_exists: if TRUE, only bind if this object currently exists
		 * otherwise, it will try to create the server for it.
		 */
		Unknown getObjectByName (in string  item_name,
					 in boolean only_if_exists)
			raises (SyntaxError, NotFound);

		void unImplemented1 ();
		void unImplemented2 ();
		void unImplemented3 ();
		void unImplemented4 ();
	};
};

#endif /* BONOBO_ITEM_CONTAIER_IDL */