⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 throughput.ice

📁 ICE-3.2 一个开源的中间件
💻 ICE
字号:
// **********************************************************************//// 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_ICE#define THROUGHPUT_ICEmodule Demo{sequence<byte> ByteSeq;const int ByteSeqSize = 500000;sequence<string> StringSeq;const int StringSeqSize = 50000;struct StringDouble{    string s;    double d;};sequence<StringDouble> StringDoubleSeq;const int StringDoubleSeqSize = 50000;struct Fixed{    int i;    int j;    double d;};sequence<Fixed> FixedSeq;const int FixedSeqSize = 50000;interface Throughput{    void endWarmup();    void sendByteSeq(["cpp:array"] ByteSeq seq);    ByteSeq recvByteSeq();    ByteSeq echoByteSeq(ByteSeq seq);    void sendStringSeq(StringSeq seq);    StringSeq recvStringSeq();    StringSeq echoStringSeq(StringSeq seq);    void sendStructSeq(StringDoubleSeq seq);    StringDoubleSeq recvStructSeq();    StringDoubleSeq echoStructSeq(StringDoubleSeq seq);    void sendFixedSeq(FixedSeq seq);    FixedSeq recvFixedSeq();    FixedSeq echoFixedSeq(FixedSeq seq);    idempotent void shutdown();};};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -