1 // **********************************************************************
3 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
8 // **********************************************************************
15 class InitialI
: public Demo::Initial
19 InitialI(const Ice::ObjectAdapterPtr
&);
21 virtual Demo::SimplePtr
getSimple(const Ice::Current
&);
22 virtual void getPrinter(::Demo::PrinterPtr
&, Demo::PrinterPrx
&, const Ice::Current
&);
23 virtual Demo::PrinterPtr
getDerivedPrinter(const Ice::Current
&);
24 virtual void throwDerivedPrinter(const Ice::Current
&);
25 virtual void shutdown(const Ice::Current
&);
29 const Demo::SimplePtr _simple
;
30 const Demo::PrinterPtr _printer
;
31 const Demo::PrinterPrx _printerProxy
;
32 const Demo::DerivedPrinterPtr _derivedPrinter
;
35 class PrinterI
: virtual public Demo::Printer
39 virtual void printBackwards(const Ice::Current
&);
42 class DerivedPrinterI
: virtual public Demo::DerivedPrinter
, virtual public PrinterI
46 virtual void printUppercase(const Ice::Current
&);