Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
org.omg.PortableInterceptor

Interface CurrentOperations

  • All Superinterfaces:
    CurrentOperations
    All Known Subinterfaces:
    Current

    public interface CurrentOperations
    extends CurrentOperations
    Portable Interceptors Current (also known as PICurrent) is merely a slot table, the slots of which are used by each service to transfer their context data between their context and the request's or reply's service context. 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.

    Before an invocation is made, PICurrent is obtained via a call to ORB.resolve_initial_references( "PICurrent" ). From within the interception points, the data on PICurrent that has moved from the thread scope to the request scope is available via the get_slot operation on the RequestInfo object. A PICurrent can still be obtained via resolve_initial_references, but that is the Interceptor's thread scope PICurrent.

    • Method Detail

      • get_slot

        Any get_slot(int id)
                     throws InvalidSlot
        Retrieves the slot data the application set in PICurrent via get_slot. The data is in the form of an Any.

        If the given slot has not been set, an Any containing a type code with a TCKind value of tk_null and no value is returned.

        Parameters:
        id - The SlotId of the slot from which the data will be returned.
        Returns:
        The data, in the form of an Any, of the given slot identifier.
        Throws:
        InvalidSlot - thrown if get_slot is called on a slot that has not been allocated.
        BAD_INV_ORDER - thrown if get_slot is called from within an ORB initializer
      • set_slot

        void set_slot(int id,
                    Any data)
                      throws InvalidSlot
        Sets data in a slot. The data is in the form of an Any. If data already exists in that slot, it is overridden.
        Parameters:
        id - The SlotId of the slot to which the data will be set.
        data - The data, in the form of an Any, which will be set to the identified slot.
        Throws:
        InvalidSlot - thrown if set_slot is called on a slot that has not been allocated.
        BAD_INV_ORDER - thrown if set_slot is called from within an ORB initializer.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-org/omg/PortableInterceptor/CurrentOperations.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut