blob: aee1627213e16f6b01ae238a265e6e3027d479f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// **********************************************************************
//
// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
public final class SessionManagerI extends Glacier2._SessionManagerDisp
{
public Glacier2.SessionPrx
create(String userId, Glacier2.SessionControlPrx control, Ice.Current current)
{
System.out.println("creating session for user `" + userId + "'");
Glacier2.Session session = new SessionI(userId);
return Glacier2.SessionPrxHelper.uncheckedCast(current.adapter.addWithUUID(session));
}
}
|