ContextI.h 468 Bytes
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

#ifndef CONTEXT_I_H
#define CONTEXT_I_H

#include <Context.h>

class ContextI : public Demo::Context
{
    std::string secretToken;
public:

    std::string login(std::string name, std::string passwd, const Ice::Current& c) override;
    void function(const Ice::Current& c) override;
    virtual void shutdown(const Ice::Current&) override;
    std::string getSecretToken() { return secretToken; };
};

#endif