Package com.sun.corba.ee.impl.io
Class IIOPInputStream.ActiveRecursionManager
- java.lang.Object
-
- com.sun.corba.ee.impl.io.IIOPInputStream.ActiveRecursionManager
-
- Enclosing class:
- IIOPInputStream
static class IIOPInputStream.ActiveRecursionManager extends java.lang.Object
This class maintains a map of stream position to an Object currently being deserialized. It is used to handle the cases where the are indirections to an object on the recursion stack. The CDR level handles indirections to objects previously seen (and completely deserialized) in the stream.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Integer,java.lang.Object>
offsetToObjectMap
-
Constructor Summary
Constructors Constructor Description ActiveRecursionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObject(int offset, java.lang.Object value)
boolean
containsObject(int offset)
java.lang.Object
getObject(int offset)
void
removeObject(int offset)
-
-
-
Method Detail
-
addObject
public void addObject(int offset, java.lang.Object value)
-
getObject
public java.lang.Object getObject(int offset) throws java.io.IOException
- Throws:
java.io.IOException
-
removeObject
public void removeObject(int offset)
-
containsObject
public boolean containsObject(int offset)
-
-