blob: 2a7f2533496c62d85d5828ae3c42d926248df3d3 (
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
35
36
37
38
39
40
41
42
43
44
|
// **********************************************************************
//
// Copyright (c) 2003-2009 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.
//
// **********************************************************************
#ifndef CASINO_BET_I_H
#define CASINO_BET_I_H
#include <Freeze/Freeze.h>
#include <Casino.h>
#include <CasinoStore.h>
class BetI : public CasinoStore::PersistentBet
{
public:
virtual int getAmount(const Ice::Current&) const;
virtual void accept(const Casino::PlayerPrx&, const Ice::Current&);
virtual int getChipsInPlay(const Ice::Current&) const;
virtual Ice::Long getCloseTime(const Ice::Current&) const;
virtual void complete(int, const Ice::Current&);
BetI();
BetI(int, Ice::Long, const CasinoStore::PersistentBankPrx&,
const Freeze::TransactionalEvictorPtr& evictor, int);
void init(const Freeze::TransactionalEvictorPtr&, int);
private:
Freeze::TransactionalEvictorPtr _evictor;
int _bankEdge;
};
#endif
|