org.jacorb.orb
Class EncapsInfo
public
class
EncapsInfo
extends Object
information the has to be saved for each encapsulation and
restored later
Version: $Id: EncapsInfo.java,v 1.15 2006/07/17 15:43:05 alphonse.bendt Exp $
Author: Gerald Brose
Constructor Summary |
| EncapsInfo(boolean le, int index, int start, int size) constructor used by CDRInputStream |
| EncapsInfo(int index, int start, Map valueMap, Map repIdMap, Map codebaseMap)
constructor used by CDROutputStream:
record the index a new encapsulation starts with
and the start position in the buffer. |
public Map codebaseMap
public final int index
public boolean littleEndian
public Map repIdMap
public int size
public final int start
public Map valueMap
public EncapsInfo(boolean le, int index, int start, int size)
constructor used by CDRInputStream
public EncapsInfo(int index, int start, Map valueMap, Map repIdMap, Map codebaseMap)
constructor used by CDROutputStream:
record the index a new encapsulation starts with
and the start position in the buffer. CORBA specifies that "indirections
may not cross encapsulation boundaries", so the new encapsulation must
set up its own indirection maps for values, repository ids and codebase
strings. The maps currently in use are also recorded, to be restored at
the end of the encapsulation.