24.08.2013 Aufrufe

Download - FESG - Technische Universität München

Download - FESG - Technische Universität München

Download - FESG - Technische Universität München

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

Anhang D<br />

Schnittstellendefinition in IDL<br />

// ***********************************************************************<br />

// * CVS Concurrent Versions Control<br />

// * ---------------------------------------------------------------------<br />

// * RCSfile: WDMSInterface.idl,v<br />

// * Revision: 1.1<br />

// * ---------------------------------------------------------------------<br />

// * Author: neidh<br />

// * Date: 2002/05/31 13:26:48<br />

// * Locker:<br />

// * ---------------------------------------------------------------------<br />

// * Log: WDMSInterface.idl,v<br />

// * Revision 1.1 2002/05/31 13:26:48 neidh<br />

// * Fundamental changes:<br />

// * Basical interface-skeleton used for simple interfaces;<br />

// * Using a connector offers advanced abstraction;<br />

// * -> Upgrade of CFT as basis for ECFT<br />

// *<br />

// *<br />

// ***********************************************************************<br />

// ***********************************************************************<br />

// * Description: *<br />

// * IDL-definition of the WDMS-interface for automatical codegeneration.*<br />

// * This interface describes the basical methodes of the WDMS- *<br />

// * Interfaces, which build the basic accesspoint to the service- *<br />

// * adapters (e.g. FileSystem, RemoteSystem, DatabaseSystem, ...) *<br />

// * It includes all other IDL-Definitions. *<br />

// * ------------------------------------------------------------------- *<br />

// * Used pre-compiler definitions: *<br />

// * *<br />

// * Used exception-handles: *<br />

// ***********************************************************************<br />

module WDMS<br />

{<br />

// *******************************************************************<br />

// * GENERAL DEFINITIONS *<br />

// *******************************************************************<br />

// Type of binary raw-data<br />

typedef sequence RawDataType;<br />

// Type of CFT-Infoquestion<br />

typedef sequence InfoAnswerType;<br />

// CFT-Transferdescriptorstructure<br />

struct CFTFILE<br />

{<br />

unsigned short usUserID;<br />

unsigned short usStreamID;<br />

unsigned long ulTimeStamp;<br />

};<br />

// *******************************************************************<br />

// * INTERFACE INFO *<br />

// * --------------------------------------------------------------- *<br />

// * Description: *<br />

// * Check remote data (e.g. "dir") *<br />

// * -> the transmitted data are temporarily valid *<br />

// *******************************************************************<br />

interface CFTInfo<br />

{<br />

// ---------------------------------------------------------------<br />

// > Class: CFTInfo <<br />

// > Methode: cppGetInfo <<br />

// > Fetches corresponding information without a <<br />

// > intention (only reading access) <<br />

// > Parameter: inout CFTFILE SCFTID -> TransferID <<br />

// > in unsigned short usOrderID -> Order-ID <<br />

// > in string cpParameterString -> Orderparameter <<br />

// > out InfoAnswerType CpAnswer -> Strings with ret. <<br />

// > out unsigned short uspNumberOfLines -> How many <<br />

// > ret.-lines<<br />

// > Return: unsigned short -> Errorcode (0=ok, 1=error) <<br />

227

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!