Fields Summary |
---|
static final com.sun.corba.se.impl.logging.OMGSystemException | omgWrapper |
static final com.sun.corba.se.impl.logging.UtilSystemException | utilWrapper |
protected ReadObjectState | readObjectState |
protected static final ReadObjectState | DEFAULT_STATE |
protected static final ReadObjectState | IN_READ_OBJECT_OPT_DATA |
protected static final ReadObjectState | IN_READ_OBJECT_NO_MORE_OPT_DATA |
protected static final ReadObjectState | IN_READ_OBJECT_DEFAULTS_SENT |
protected static final ReadObjectState | NO_READ_OBJECT_DEFAULTS_SENT |
protected static final ReadObjectState | IN_READ_OBJECT_REMOTE_NOT_CUSTOM_MARSHALED |
protected static final ReadObjectState | IN_READ_OBJECT_PAST_DEFAULTS_REMOTE_NOT_CUSTOM |
Methods Summary |
---|
public void | defaultReadObject()
readObjectState.beginDefaultReadObject(this);
defaultReadObjectDelegate();
readObjectState.endDefaultReadObject(this);
|
public abstract void | defaultReadObjectDelegate()
|
protected abstract org.omg.CORBA_2_3.portable.InputStream | getOrbStream()
|
protected abstract byte | getStreamFormatVersion()
|
abstract void | readFields(java.util.Map fieldToValueMap)
|
public java.io.ObjectInputStream$GetField | readFields()
HashMap fieldValueMap = new HashMap();
// We were treating readFields same as defaultReadObject. It is
// incorrect if the state is readOptionalData. If this line
// is uncommented, it will throw a stream corrupted exception.
// _REVISIT_: The ideal fix would be to add a new state. In
// writeObject user may do one of the following
// 1. Call defaultWriteObject()
// 2. Put out optional fields
// 3. Call writeFields
// We have the state defined for (1) and (2) but not for (3), so
// we should ideally introduce a new state for 3 and have the
// beginDefaultReadObject do nothing.
//readObjectState.beginDefaultReadObject(this);
readFields(fieldValueMap);
readObjectState.endDefaultReadObject(this);
return new HookGetFields(fieldValueMap);
|
protected void | setState(com.sun.corba.se.impl.io.InputStreamHook$ReadObjectState newState)
readObjectState = newState;
|
protected void | throwOptionalDataIncompatibleException()
throw omgWrapper.rmiiiopOptionalDataIncompatible2() ;
|