diff options
Diffstat (limited to 'cpp/demo/Ice/throughput/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/throughput/Client.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp index 717fa756b68..8aba2229d0c 100644 --- a/cpp/demo/Ice/throughput/Client.cpp +++ b/cpp/demo/Ice/throughput/Client.cpp @@ -150,7 +150,7 @@ ThroughputClient::run(int argc, char* argv[]) char currentType = '1'; int seqSize = ByteSeqSize; - char c; + char c = 'x'; do { try @@ -252,9 +252,9 @@ ThroughputClient::run(int argc, char* argv[]) { cout << " as oneway"; } - + cout << "..." << endl; - + for(int i = 0; i < repetitions; ++i) { switch(currentType) @@ -268,19 +268,19 @@ ThroughputClient::run(int argc, char* argv[]) throughput->sendByteSeq(byteArr); break; } - + case 'o': { throughputOneway->sendByteSeq(byteArr); break; } - + case 'r': { throughput->recvByteSeq(); break; } - + case 'e': { throughput->echoByteSeq(byteArr); @@ -299,19 +299,19 @@ ThroughputClient::run(int argc, char* argv[]) throughput->sendStringSeq(stringViewSeq); break; } - + case 'o': { throughputOneway->sendStringSeq(stringViewSeq); break; } - + case 'r': { throughput->recvStringSeq(); break; } - + case 'e': { throughput->echoStringSeq(stringViewSeq); @@ -330,19 +330,19 @@ ThroughputClient::run(int argc, char* argv[]) throughput->sendStructSeq(structSeq); break; } - + case 'o': { throughputOneway->sendStructSeq(structSeq); break; } - + case 'r': { throughput->recvStructSeq(); break; } - + case 'e': { throughput->echoStructSeq(structSeq); @@ -361,19 +361,19 @@ ThroughputClient::run(int argc, char* argv[]) throughput->sendFixedSeq(fixedSeq); break; } - + case 'o': { throughputOneway->sendFixedSeq(fixedSeq); break; } - + case 'r': { throughput->recvFixedSeq(); break; } - + case 'e': { throughput->echoFixedSeq(fixedSeq); |