Esempio n. 1
0
void
TestIntfI::opOutRangeByteSeq_async(const Test::AMD_TestIntf_opOutRangeByteSeqPtr& cb,
                                   const Test::ByteSeq& inS,
                                   const Ice::Current&)
{
    cb->ice_response(std::pair<Test::ByteSeq::const_iterator,
                     Test::ByteSeq::const_iterator>(inS.begin(), inS.end()));
}
Esempio n. 2
0
void
TestIntfI::opOutRangeByteSeqAsync(Test::ByteSeq in,
                                  std::function<void (const std::pair<Test::ByteSeq::const_iterator,
                                                      Test::ByteSeq::const_iterator>&)> response,
                                  std::function<void (std::exception_ptr)>, const Ice::Current&)
{
    response(std::make_pair(in.begin(), in.end()));
}