Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
BatchRequestInterceptor.h
Go to the documentation of this file.
1//
2// Copyright (c) ZeroC, Inc. All rights reserved.
3//
4
5#ifndef ICE_BATCH_REQUEST_INTERCEPTOR_H
6#define ICE_BATCH_REQUEST_INTERCEPTOR_H
7
8#include <IceUtil/Shared.h>
9#include <Ice/ProxyF.h>
10
11namespace Ice
12{
13
19{
20public:
21
22 virtual ~BatchRequest()
23 {
24 }
25
29 virtual void enqueue() const = 0;
30
35 virtual int getSize() const = 0;
36
41 virtual const std::string& getOperation() const = 0;
42
47 virtual const Ice::ObjectPrxPtr& getProxy() const = 0;
48};
49
50#ifndef ICE_CPP11_MAPPING
51
58{
59public:
60
67 virtual void enqueue(const BatchRequest& req, int count, int size) = 0;
68};
70
71#endif
72
73}
74
75#endif
Definition Handle.h:143
Definition Shared.h:78
The base class for a batch request interceptor.
Definition BatchRequestInterceptor.h:58
virtual void enqueue(const BatchRequest &req, int count, int size)=0
Called by the Ice run time to enqueue a batch request.
Represents an invocation on a proxy configured for batch-oneway or batch-datagram.
Definition BatchRequestInterceptor.h:19
virtual int getSize() const =0
Obtains the size of the request.
virtual const std::string & getOperation() const =0
Obtains the name of the operation.
virtual const Ice::ObjectPrxPtr & getProxy() const =0
Obtains the proxy on which the batch request was invoked.
virtual void enqueue() const =0
Queues the request for an eventual flush.
virtual ~BatchRequest()
Definition BatchRequestInterceptor.h:22
Definition BuiltinSequences.h:113
ObjectPrx ObjectPrxPtr
Definition ProxyF.h:48
IceUtil::Handle< BatchRequestInterceptor > BatchRequestInterceptorPtr
Definition BatchRequestInterceptor.h:69