Defining the IDL file  Defining DFC behavior

Chapter 2: Developing Custom Applications

Sample IDL file

interface routecli //syntax used for namespaces, to 
					 	//avoid name conflict at runtime.
{
	[init]
	int Init();

	[deinit]
	int Deinit();
	
	[acquire]
	int Execute();

	[client]
	int printTest(	int [flavor] flav,
					 int [in] inInt,
					 short [in] inShort,
					 long [in] inLong,
					 char [in] inChar,
					 string [in] inStr,
				 	 blob [in] inBlob,
				 	 int [out] outInt,
					 short [out] outShort,
					 long [out] outLong,
					 char [out] outChar,
					 string [out] outString,
					 blob [out] outBlob);
};




Copyright © 2005. Sybase Inc. All rights reserved. Defining DFC behavior

View this book as PDF