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