Revision ae368998
| server/src/MiddlewareRSB.cpp | ||
|---|---|---|
| 144 | 144 | 
     | 
| 145 | 145 | 
    //try to fetch it asynchronously:  | 
| 146 | 146 | 
        try{
   | 
| 147 | 
            RemoteServer::DataFuture<rst::audition::^> future_ptr = tts_server->callAsync<rst::audition::Utterance>("create_utterance", request);
   | 
|
| 147 | 
            RemoteServer::DataFuture<rst::audition::Utterance> future_ptr = tts_server->callAsync<rst::audition::Utterance>("create_utterance", request);
   | 
|
| 148 | 148 | 
     | 
| 149 | 149 | 
    //try to fetch the result  | 
| 150 | 150 | 
    boost::shared_ptr<rst::audition::Utterance> utterance_ptr = future_ptr.get(tts_timeout);  | 
Also available in: Unified diff