|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CurrentOperations
Defines the operations, applicable to the portable interceptor Current.
Portable Interceptors Current (also known as PICurrent) is a slot table. Each
slot has an integer identifier, can hold a CORBA 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.
| Method Summary | |
|---|---|
Any |
get_slot(int slot_id)
Get data from the slot with the given slot_id. |
void |
set_slot(int slot_id,
Any data)
Sets data for the slot with the given slot_id. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||