01: /*
02: * Copyright 2007 Google Inc.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License. You may obtain a copy of
06: * the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13: * License for the specific language governing permissions and limitations under
14: * the License.
15: */
16: package com.google.gwt.user.client.rpc;
17:
18: import com.google.gwt.user.client.rpc.InheritanceTestSetFactory.AbstractClass;
19: import com.google.gwt.user.client.rpc.InheritanceTestSetFactory.AnonymousClassInterface;
20: import com.google.gwt.user.client.rpc.InheritanceTestSetFactory.Circle;
21: import com.google.gwt.user.client.rpc.InheritanceTestSetFactory.JavaSerializableClass;
22: import com.google.gwt.user.client.rpc.InheritanceTestSetFactory.MySerializableInterface;
23: import com.google.gwt.user.client.rpc.InheritanceTestSetFactory.SerializableClass;
24: import com.google.gwt.user.client.rpc.InheritanceTestSetFactory.SerializableClassWithTransientField;
25:
26: /**
27: * Service interface used by the
28: * {@link com.google.gwt.user.client.rpc.InheritanceTest InheritanceTest} unit
29: * test.
30: */
31: public interface InheritanceTestService extends RemoteService {
32: AnonymousClassInterface echo(AnonymousClassInterface serializable);
33:
34: Circle echo(Circle circle);
35:
36: JavaSerializableClass echo(
37: JavaSerializableClass javaSerializableClass);
38:
39: SerializableClass echo(SerializableClass serializableClass);
40:
41: SerializableClassWithTransientField echo(
42: SerializableClassWithTransientField serializableClass);
43:
44: /**
45: * Used to test <a
46: * href="http://code.google.com/p/google-web-toolkit/issues/detail?id=1163">Issue
47: * 1163</a>.
48: *
49: * @return
50: */
51: AbstractClass getAbstractClass();
52:
53: /**
54: * Used to test <a
55: * href="http://code.google.com/p/google-web-toolkit/issues/detail?id=1163">Issue
56: * 1163</a>.
57: *
58: * @return
59: */
60: MySerializableInterface getSerializableInterface1();
61:
62: /**
63: * Used to test <a
64: * href="http://code.google.com/p/google-web-toolkit/issues/detail?id=1163">Issue
65: * 1163</a>.
66: *
67: * @return
68: */
69: MySerializableInterface getSerializableInterface2();
70:
71: SerializableClass getUnserializableClass();
72: }
|