throughputi.h
来自「ICE-3.2 一个开源的中间件」· C头文件 代码 · 共 47 行
H
47 行
// **********************************************************************//// Copyright (c) 2003-2007 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 THROUGHPUT_I_H#define THROUGHPUT_I_H#include <Throughput.h>class ThroughputI : public Demo::Throughput{public: ThroughputI(); virtual void endWarmup(const Ice::Current&); virtual void sendByteSeq(const std::pair<const Ice::Byte*, const Ice::Byte*>&, const Ice::Current&); virtual Demo::ByteSeq recvByteSeq(const Ice::Current&); virtual Demo::ByteSeq echoByteSeq(const Demo::ByteSeq& seq, const Ice::Current&); virtual void sendStringSeq(const Demo::StringSeq&, const Ice::Current&); virtual Demo::StringSeq recvStringSeq(const Ice::Current&); virtual Demo::StringSeq echoStringSeq(const Demo::StringSeq& seq, const Ice::Current&); virtual void sendStructSeq(const Demo::StringDoubleSeq&, const Ice::Current&); virtual Demo::StringDoubleSeq recvStructSeq(const Ice::Current&); virtual Demo::StringDoubleSeq echoStructSeq(const Demo::StringDoubleSeq& seq, const Ice::Current&); virtual void sendFixedSeq(const Demo::FixedSeq&, const Ice::Current&); virtual Demo::FixedSeq recvFixedSeq(const Ice::Current&); virtual Demo::FixedSeq echoFixedSeq(const Demo::FixedSeq& seq, const Ice::Current&); virtual void shutdown(const Ice::Current& c);private: Demo::ByteSeq _byteSeq; Demo::StringSeq _stringSeq; Demo::StringDoubleSeq _structSeq; Demo::FixedSeq _fixedSeq; bool _warmup;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?