Class 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  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • offsetToObjectMap

        private java.util.Map<java.lang.Integer,​java.lang.Object> offsetToObjectMap
    • Constructor Detail

      • ActiveRecursionManager

        public ActiveRecursionManager()
    • 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)