public interface CurrentOperations extends CurrentOperations
Any
and is used by
some service to transfer data between thread and request contexts. Each
service which wishes to use PICurrent reserves a slot or slots at
initialization time and uses those slots during the processing of requests
and replies.Any get_slot(int slot_id) throws InvalidSlot, BAD_INV_ORDER
slot_id
- the slot slot_id.InvalidSlot
- for the unknown slot.BAD_INV_ORDER
- minor 10 if called from the ORBInitializer
methods.void set_slot(int slot_id, Any data) throws InvalidSlot, BAD_INV_ORDER
slot_id
- the slot slot_id.data
- the Any that will be stored into the slot.InvalidSlot
- for the unknown slot.BAD_INV_ORDER
- minor 10 if called from the ORBInitializer
methods.