CORBA::Any *pull();
CORBA::Any *try_pull(CORBA::Boolean &has_event);
void disconnect_pull_supplier ();
private:
CORBA::ULong l;
};
void Supplier_i::disconnect_pull_supplier () {
cout << "Pull Supplier: disconnected by channel." << endl;
}
CORBA::Any* Supplier_i::pull() {
cout << "Pull Supplier: pull() called. Data : ";
CORBA::Any *any = new CORBA::Any();
*any <<= l++;
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/