]> git.buserror.net Git - polintos/scott/priv.git/blob - idlcomp/tests/cpp-server.cdl
Initial checkin from Perforce.
[polintos/scott/priv.git] / idlcomp / tests / cpp-server.cdl
1 class Stuff.FileStream : System.IO.FileStream, System.Time.TimerFactory, System.IO.IStream
2 {
3         // IDLC will expect a method in FileStream (or its parents) for every
4         // method in System.IO.FileStream and its parents.  If any methods are
5         // named differently than in the caller, that has to be indicated here
6         // with a method block.  If there is a name conflict between parents,
7         // all but one *must* be overridden with a non-conflicting name (and
8         // callers will need to cast to the appropriate base interface).
9
10         method System.IO.IStream.read_async name read_foo;
11
12         method System.IO.OStream.write_async {
13                 name write_foo;
14                 
15                 // If any parameters are to have "copy" semantics, this must be
16                 // specified here (a comma-delimited list may be used).
17
18                 copy buf;
19         }
20 }