- Once a BidImpl is safely in hand, instantiate a BidServant
- BidServant is just an instance of the Bid_tie template
- Before returning the servant remember it in our own active map.
- This is private to the BidServantManager and is a different from the POA's active map.
- Do this to solve the problem of when to deactivate Bids.
- The BidServantActivator should create a thread to periodically walk this map deactivate servants.
- poa->deactivate_object( object_id )
- Do not remove from the map, the POA will call etherealize
- Simplifies our work since the POA ensures that no threads are active in the BidServant
- Next look at etherealize...
|