blob: 34da672a9e1bba3d7b633613c5463fce8f712f94 (
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
|
// **********************************************************************
//
// Copyright (c) 2002
// Mutable Realms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************
final class HelloSessionI extends HelloSession
{
public
HelloSessionI(String userId, HelloSessionManagerI manager)
{
_userId = userId;
_manager = manager;
}
public void
hello(Ice.Current current)
{
System.out.println("Hello " + _userId);
}
public void
destroy(Ice.Current current)
{
_manager.remove(current.id);
}
private String _userId;
private HelloSessionManagerI _manager;
}
|