|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.PortableServer.ServantLocatorPackage.CookieHolder
public final class CookieHolder
The native type PortableServer::ServantLocator::Cookie is mapped to java.lang.Object. A CookieHolder class is provided for passing the Cookie type as an out parameter. The CookieHolder class follows exactly the same pattern as the other holder classes for basic types.
Field Summary | |
---|---|
Object |
value
|
Constructor Summary | |
---|---|
CookieHolder()
|
|
CookieHolder(Object initial)
|
Method Summary | |
---|---|
void |
_read(InputStream is)
Reads data from istream and initalizes the
value field of the Holder with the unmarshalled data. |
TypeCode |
_type()
Retrieves the TypeCode object corresponding to the value
in the value field of the Holder. |
void |
_write(OutputStream os)
Marshals to ostream the value in the
value field of the Holder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Object value
Constructor Detail |
---|
public CookieHolder()
public CookieHolder(Object initial)
Method Detail |
---|
public void _read(InputStream is)
Streamable
istream
and initalizes the
value
field of the Holder with the unmarshalled data.
_read
in interface Streamable
is
- the InputStream that represents the CDR data from the wire.public void _write(OutputStream os)
Streamable
ostream
the value in the
value
field of the Holder.
_write
in interface Streamable
os
- the CDR OutputStreampublic TypeCode _type()
Streamable
TypeCode
object corresponding to the value
in the value
field of the Holder.
_type
in interface Streamable
TypeCode
object for the value held in the holder
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.