~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to java/test/Ice/proxyAMD/MyDerivedClassI.java

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martin Angelina
  • Date: 2011-04-25 18:44:24 UTC
  • mfrom: (6.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110425184424-sep9i9euu434vq4c
Tags: 3.4.1-7
* Bug fix: "libdb5.1-java.jar was renamed to db.jar", thanks to Ondřej
  Surý (Closes: #623555).
* Bug fix: "causes noise in php5", thanks to Jayen Ashar (Closes:
  #623533).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// **********************************************************************
2
 
//
3
 
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
4
 
//
5
 
// This copy of Ice is licensed to you under the terms described in the
6
 
// ICE_LICENSE file included in this distribution.
7
 
//
8
 
// **********************************************************************
9
 
 
10
 
public final class MyDerivedClassI extends Test.MyDerivedClass
11
 
{
12
 
    public
13
 
    MyDerivedClassI()
14
 
    {
15
 
    }
16
 
 
17
 
    public void
18
 
    echo_async(Test.AMD_MyDerivedClass_echo cb,
19
 
                   Ice.ObjectPrx obj,
20
 
                   Ice.Current c)
21
 
    {
22
 
        cb.ice_response(obj);
23
 
    }
24
 
 
25
 
    public void
26
 
    shutdown_async(Test.AMD_MyClass_shutdown cb,
27
 
                   Ice.Current c)
28
 
    {
29
 
        c.adapter.getCommunicator().shutdown();
30
 
        cb.ice_response();
31
 
    }
32
 
 
33
 
    public void
34
 
    getContext_async(Test.AMD_MyClass_getContext cb, Ice.Current current)
35
 
    {
36
 
        cb.ice_response(_ctx);
37
 
    }
38
 
 
39
 
    public boolean
40
 
    ice_isA(String s, Ice.Current current)
41
 
    {
42
 
        _ctx = current.ctx;
43
 
        return super.ice_isA(s, current);
44
 
    }
45
 
 
46
 
    private java.util.Map<String, String> _ctx;
47
 
}