Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 28, 2010, 9:48:32 PM (14 years ago)
Author:
scheusso
Message:

buffering incoming function calls for non-existing objects works now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/network/FunctionCall.cc

    r7490 r7495  
    8080    {
    8181      case 0:
    82         fct->call(this->objectID_);
     82        if( !fct->call(this->objectID_) )
     83          return false;
    8384        break;
    8485      case 1:
    85         fct->call(this->objectID_, this->arguments_[0]);
     86        if( !fct->call(this->objectID_, this->arguments_[0]) )
     87          return false;
    8688        break;
    8789      case 2:
    88         fct->call(this->objectID_, this->arguments_[0], this->arguments_[1]);
     90        if( !fct->call(this->objectID_, this->arguments_[0], this->arguments_[1]) )
     91          return false;
    8992        break;
    9093      case 3:
    91         fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2]);
     94        if( !fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2]) )
     95          return false;
    9296        break;
    9397      case 4:
    94         fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2], this->arguments_[3]);
     98        if( !fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2], this->arguments_[3]) )
     99          return false;
    95100        break;
    96101      case 5:
    97         fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2], this->arguments_[3], this->arguments_[4]);
     102        if( !fct->call(this->objectID_, this->arguments_[0], this->arguments_[1], this->arguments_[2], this->arguments_[3], this->arguments_[4]) )
     103          return false;
    98104        break;
    99105      default:
Note: See TracChangeset for help on using the changeset viewer.