Ice 3.7 C++11 API Reference
Ice
Dispatcher.h
Go to the documentation of this file.
1
//
2
// Copyright (c) ZeroC, Inc. All rights reserved.
3
//
4
5
#ifndef ICE_DISPATCHER_H
6
#define ICE_DISPATCHER_H
7
8
#if !defined(ICE_CPP11_MAPPING) || defined(ICE_BUILDING_SRC)
9
//
10
// Part of the C++98 mapping, and "internal" definitions when building Ice
11
// with the C++11 mapping
12
//
13
14
#include <
Ice/Config.h
>
15
#include <
IceUtil/Shared.h
>
16
#include <
IceUtil/Handle.h
>
17
#include <
Ice/ConnectionF.h
>
18
19
namespace
Ice
20
{
21
27
class
ICE_API
DispatcherCall :
public
virtual
IceUtil::Shared
28
{
29
public
:
30
31
virtual
~DispatcherCall();
32
36
virtual
void
run() = 0;
37
};
38
39
typedef
IceUtil::Handle<DispatcherCall>
DispatcherCallPtr;
40
46
class
ICE_API
Dispatcher :
public
virtual
IceUtil::Shared
47
{
48
public
:
49
50
virtual
~Dispatcher();
51
59
virtual
void
dispatch(
const
DispatcherCallPtr& call,
const
ConnectionPtr& connection) = 0;
60
};
61
62
typedef
IceUtil::Handle<Dispatcher>
DispatcherPtr;
63
64
}
65
66
#endif
67
#endif
ConnectionF.h
Handle.h
ICE_API
#define ICE_API
Definition:
Config.h:197
Shared.h
Config.h
Ice
Definition:
BuiltinSequences.h:56
IceUtil::Handle
Definition:
Handle.h:143
IceUtil::Shared
Definition:
Shared.h:78
Generated by
1.8.20