blob: f31ea58b482eac020ae61f99540a678fc26f4571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// **********************************************************************
//
// Copyright (c) 2003
// ZeroC, Inc.
// Billerica, MA, USA
//
// All Rights Reserved.
//
// Ice is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License version 2 as published by
// the Free Software Foundation.
//
// **********************************************************************
public class HelloI extends Hello
{
public
HelloI(Ice.Communicator communicator)
{
_communicator = communicator;
}
public void
sayHello(Ice.Current current)
{
System.out.println("Hello World!");
}
public void
shutdown(Ice.Current current)
{
System.out.println("Shutting down...");
_communicator.shutdown();
}
private Ice.Communicator _communicator;
}
|