ICE 3.4.2
[php5-ice-freebsdport.git] / cpp / test / Glacier2 / sessionControl / SessionI.h
blob135690be4eac0a2ebc433a2256a4ec78c587d854
1 // **********************************************************************
2 //
3 // Copyright (c) 2003-2011 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 // **********************************************************************
10 #ifndef SESSION_I_H
11 #define SESSION_I_H
13 #include <Session.h>
15 class SessionManagerI : public Glacier2::SessionManager
17 public:
19 virtual Glacier2::SessionPrx create(const std::string&, const Glacier2::SessionControlPrx&, const Ice::Current&);
23 class SessionI : public Test::Session
25 public:
27 SessionI(const Glacier2::SessionControlPrx&);
29 virtual void destroyFromClient_async(const Test::AMD_Session_destroyFromClientPtr&, const Ice::Current&);
30 virtual void shutdown(const Ice::Current&);
32 virtual void destroy(const Ice::Current&);
34 private:
36 Glacier2::SessionControlPrx _sessionControl;
39 #endif