org.jacorb.orb
Class EncapsInfo
java.lang.Object
org.jacorb.orb.EncapsInfo
public class EncapsInfo
extends java.lang.Object
information the has to be saved for each encapsulation and
restored later
Version:
- Gerald Brose
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.
|
codebaseMap
public Map codebaseMap
littleEndian
public boolean littleEndian
repIdMap
public Map repIdMap
valueMap
public Map valueMap
EncapsInfo
public EncapsInfo(boolean le,
int index,
int start,
int size)
constructor used by CDRInputStream
EncapsInfo
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.