- java.lang.Object
-
- org.omg.CORBA.PrincipalHolder
-
- All Implemented Interfaces:
- Streamable
Deprecated.Deprecated by CORBA 2.2.
@Deprecated public final class PrincipalHolder extends Object implements Streamable
The Holder for Principal. For more information on Holder files, see "Generated Files: Holder Files".A container class for values of type
Principalthat is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLPrincipalas an "out" or "inout" parameter, the programmer must pass an instance ofPrincipalHolderas the corresponding parameter in the method invocation; for "inout" parameters, the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns, the ORB will fill in the value corresponding to the "out" value returned from the server.If
myPrincipalHolderis an instance ofPrincipalHolder, the value stored in itsvaluefield can be accessed withmyPrincipalHolder.value.- Since:
- JDK1.2
-
-
Field Summary
Fields Modifier and Type Field and Description PrincipalvalueDeprecated.ThePrincipalvalue held by thisPrincipalHolderobject.
-
Constructor Summary
Constructors Constructor and Description PrincipalHolder()Deprecated.Constructs a newPrincipalHolderobject with itsvaluefield initialized tonull.PrincipalHolder(Principal initial)Deprecated.Constructs a newPrincipalHolderobject with itsvaluefield initialized to the givenPrincipalobject.
-
Method Summary
Methods Modifier and Type Method and Description void_read(InputStream input)Deprecated.Reads data fromistreamand initalizes thevaluefield of the Holder with the unmarshalled data.TypeCode_type()Deprecated.Retrieves theTypeCodeobject corresponding to the value in thevaluefield of the Holder.void_write(OutputStream output)Deprecated.Marshals toostreamthe value in thevaluefield of the Holder.
-
-
-
Field Detail
-
value
public Principal value
Deprecated.ThePrincipalvalue held by thisPrincipalHolderobject.
-
-
Constructor Detail
-
PrincipalHolder
public PrincipalHolder()
Deprecated.Constructs a newPrincipalHolderobject with itsvaluefield initialized tonull.
-
PrincipalHolder
public PrincipalHolder(Principal initial)
Deprecated.Constructs a newPrincipalHolderobject with itsvaluefield initialized to the givenPrincipalobject.- Parameters:
initial- thePrincipalwith which to initialize thevaluefield of the newly-createdPrincipalHolderobject
-
-
Method Detail
-
_read
public void _read(InputStream input)
Deprecated.Description copied from interface:StreamableReads data fromistreamand initalizes thevaluefield of the Holder with the unmarshalled data.- Specified by:
_readin interfaceStreamable- Parameters:
input- the InputStream that represents the CDR data from the wire.
-
_write
public void _write(OutputStream output)
Deprecated.Description copied from interface:StreamableMarshals toostreamthe value in thevaluefield of the Holder.- Specified by:
_writein interfaceStreamable- Parameters:
output- the CDR OutputStream
-
_type
public TypeCode _type()
Deprecated.Description copied from interface:StreamableRetrieves theTypeCodeobject corresponding to the value in thevaluefield of the Holder.- Specified by:
_typein interfaceStreamable- Returns:
- the
TypeCodeobject for the value held in the holder
-
-
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/corba/principalholder.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
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 van 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.