// // Copyright (c) ZeroC, Inc. All rights reserved. // #ifndef ICEPY_BATCH_REQUEST_INTERCEPTOR_H #define ICEPY_BATCH_REQUEST_INTERCEPTOR_H #include #include #include namespace IcePy { extern PyTypeObject BatchRequestType; bool initBatchRequest(PyObject*); class BatchRequestInterceptor : public Ice::BatchRequestInterceptor { public: BatchRequestInterceptor(PyObject*); virtual void enqueue(const Ice::BatchRequest&, int, int); private: PyObjectHandle _interceptor; }; typedef IceUtil::Handle BatchRequestInterceptorPtr; } #endif