summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/ObjectAdapter.h
blob: 435723b3372d21fab14ce8e66f66f8ca7e14ffb2 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************

// Generated from file `ObjectAdapter.ice'

#ifndef __ObjectAdapter_h__
#define __ObjectAdapter_h__

#include <Ice/ProxyF.h>
#include <Ice/ObjectF.h>
#include <Ice/LocalObjectF.h>
#include <Ice/Native.h>
#include <Ice/LocalObject.h>
#include <Ice/CommunicatorF.h>

namespace Ice
{

class ObjectAdapter;

}

namespace __Ice
{

void ICE_API incRef(::Ice::ObjectAdapter*);
void ICE_API decRef(::Ice::ObjectAdapter*);

}

namespace Ice
{

typedef ::__Ice::Handle< ::Ice::ObjectAdapter> ObjectAdapter_ptr;

}

namespace Ice
{

class ICE_API ObjectAdapter : public ::Ice::LocalObject
{
public: 

    virtual ::std::string getName() = 0;

    virtual ::Ice::Communicator_ptr getCommunicator() = 0;

    virtual void activate() = 0;

    virtual void hold() = 0;

    virtual void deactivate() = 0;

    virtual void add(const ::Ice::Object_ptr&, const ::std::string&) = 0;

    virtual void remove(const ::std::string&) = 0;

    virtual ::Ice::Object_ptr identityToObject(const ::std::string&) = 0;

    virtual ::std::string objectToIdentity(const ::Ice::Object_ptr&) = 0;

    virtual ::Ice::Object_ptr proxyToObject(const ::Ice::Object_prx&) = 0;

    virtual ::Ice::Object_prx objectToProxy(const ::Ice::Object_ptr&) = 0;

    virtual ::Ice::Object_prx identityToProxy(const ::std::string&) = 0;

    virtual ::std::string proxyToIdentity(const ::Ice::Object_prx&) = 0;

    virtual void __write(::__Ice::Stream*);
    virtual void __read(::__Ice::Stream*);
};

}

#endif