summaryrefslogtreecommitdiff
path: root/cppe/demo
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/demo')
-rw-r--r--cppe/demo/IceE/throughput/Throughput.ice2
-rw-r--r--cppe/demo/IceE/throughput/ThroughputI.cpp2
-rw-r--r--cppe/demo/IceE/throughput/ThroughputI.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/cppe/demo/IceE/throughput/Throughput.ice b/cppe/demo/IceE/throughput/Throughput.ice
index 912c1e04395..57387404e5a 100644
--- a/cppe/demo/IceE/throughput/Throughput.ice
+++ b/cppe/demo/IceE/throughput/Throughput.ice
@@ -38,7 +38,7 @@ const int FixedSeqSize = 50000;
interface Throughput
{
- void sendByteSeq(ByteSeq seq);
+ void sendByteSeq(["cpp:array"] ByteSeq seq);
ByteSeq recvByteSeq();
ByteSeq echoByteSeq(ByteSeq seq);
diff --git a/cppe/demo/IceE/throughput/ThroughputI.cpp b/cppe/demo/IceE/throughput/ThroughputI.cpp
index 7baeeca9394..70230f82ac1 100644
--- a/cppe/demo/IceE/throughput/ThroughputI.cpp
+++ b/cppe/demo/IceE/throughput/ThroughputI.cpp
@@ -33,7 +33,7 @@ ThroughputI::ThroughputI(int reduce) :
}
void
-ThroughputI::sendByteSeq(const ByteSeq&, const Ice::Current&)
+ThroughputI::sendByteSeq(const pair<const Ice::Byte*, const Ice::Byte*>&, const Ice::Current&)
{
}
diff --git a/cppe/demo/IceE/throughput/ThroughputI.h b/cppe/demo/IceE/throughput/ThroughputI.h
index b2273ad5152..06188cee20e 100644
--- a/cppe/demo/IceE/throughput/ThroughputI.h
+++ b/cppe/demo/IceE/throughput/ThroughputI.h
@@ -19,7 +19,7 @@ public:
ThroughputI(int);
- virtual void sendByteSeq(const Demo::ByteSeq&, 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&, const Ice::Current&);
virtual void sendStringSeq(const Demo::StringSeq&, const Ice::Current&);