public final class CookieHolder extends java.lang.Object implements org.omg.CORBA.portable.Streamable
ServantLocator, allowing the
ServantLocatorOperations.preinvoke(byte[], org.omg.PortableServer.POA, java.lang.String, org.omg.PortableServer.ServantLocatorPackage.CookieHolder)
to return an arbitrary java.lang.Object that will be later passed to
ServantLocatorOperations.postinvoke(byte[], org.omg.PortableServer.POA, java.lang.String, java.lang.Object, org.omg.PortableServer.Servant).ServantLocatorOperations,
ServantManager| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
value
The wrapped java.lang.Object.
|
| Constructor and Description |
|---|
CookieHolder()
Create the unitialised instance of this holder.
|
CookieHolder(java.lang.Object initial)
Create the instance, intialising the
value field to the passed
value. |
| Modifier and Type | Method and Description |
|---|---|
void |
_read(org.omg.CORBA.portable.InputStream input)
java.lang.Object is outside the scope of the CORBA standards and the read
operation cannot be supported in a language-neutral way.
|
org.omg.CORBA.TypeCode |
_type()
There is no CORBA typecode that would specifically match a java.lang.Object.
|
void |
_write(org.omg.CORBA.portable.OutputStream output)
java.lang.Object is outside the scope of the CORBA standards and the write
operation cannot be supported in a language-neutral way.
|
public java.lang.Object value
public CookieHolder()
public CookieHolder(java.lang.Object initial)
value field to the passed
value.public void _read(org.omg.CORBA.portable.InputStream input)
_read in interface org.omg.CORBA.portable.Streamableinput - the input stream to read from.org.omg.CORBA.NO_IMPLEMENT - always.public org.omg.CORBA.TypeCode _type()
_type in interface org.omg.CORBA.portable.Streamableorg.omg.CORBA.NO_IMPLEMENT - always.public void _write(org.omg.CORBA.portable.OutputStream output)
_write in interface org.omg.CORBA.portable.Streamableoutput - the output stream to write into.org.omg.CORBA.NO_IMPLEMENT - always.