1// 2// Copyright (c) ZeroC, Inc. All rights reserved. 3// 4 5#pragma once 6 7#include <Test.ice> 8 9module Test 10{ 11 12// 13// The server doesn't know this class. 14// 15class D extends B 16{ 17 string ds; 18 optional(990) StringSeq seq; 19 optional(1000) A ao; 20} 21 22// 23// This class is a hack that allows us to invoke the opClassAndUnknownOptional operation 24// on the server and pass an optional argument. This isn't necessary in other language 25// mappings where the public stream API is available. 26// 27interface Initial2 28{ 29 void opClassAndUnknownOptional(A p, optional(1) Object o); 30 31 void opVoid(optional(1) int a, optional(2) string v); 32} 33 34} 35