Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can i implement callbacks in corba2.3?

Status
Not open for further replies.

lenina

Programmer
Sep 5, 2000
1
0
0
US
how can i implement callbacks in corba2.3 ? i need a example regading the above
thanks in advance
 
You can pass a reference to an object from another object ie.

Object B has a method call startOrder() which accepts an object of typr Order.

Order has a method called transactionComplete(). This should be executed upon some futher work by another component (in this cade object A).

Order create instance of A and calls the startOrder method liek this.

startOrder(this);
//This passes in reference to self to other component.

Then the Object A will perform work and call the transactionComplete() complete method on the refernce passed into it.

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top