Ejemplo n.º 1
0
 protected virtual DataStructure LooseUnmarshalCachedObject(
     OpenWireFormat wireFormat,
     BinaryReader dataIn)
 {
     /*
      * if (wireFormat.isCacheEnabled()) {
      * if (bs.ReadBoolean()) {
      * short index = dataIndataIn.ReadInt16()Int16();
      * DataStructure value = wireFormat.UnmarshalNestedObject(dataIn, bs);
      * wireFormat.setInUnmarshallCache(index, value);
      * return value;
      * } else {
      * short index = dataIn.ReadInt16();
      * return wireFormat.getFromUnmarshallCache(index);
      * }
      * } else {
      * return wireFormat.UnmarshalNestedObject(dataIn, bs);
      * }
      */
     return(wireFormat.LooseUnmarshalNestedObject(dataIn));
 }
 protected virtual DataStructure LooseUnmarshalCachedObject(
     OpenWireFormat wireFormat,
     BinaryReader dataIn)
 {
     /*
      if (wireFormat.isCacheEnabled()) {
      if (bs.ReadBoolean()) {
      short index = dataIndataIn.ReadInt16()Int16();
      DataStructure value = wireFormat.UnmarshalNestedObject(dataIn, bs);
      wireFormat.setInUnmarshallCache(index, value);
      return value;
      } else {
      short index = dataIn.ReadInt16();
      return wireFormat.getFromUnmarshallCache(index);
      }
      } else {
      return wireFormat.UnmarshalNestedObject(dataIn, bs);
      }
      */
     return wireFormat.LooseUnmarshalNestedObject(dataIn);
 }
Ejemplo n.º 3
0
 protected virtual DataStructure LooseUnmarshalNestedObject(
     OpenWireFormat wireFormat,
     BinaryReader dataIn)
 {
     return(wireFormat.LooseUnmarshalNestedObject(dataIn));
 }
 protected virtual DataStructure LooseUnmarshalNestedObject(
     OpenWireFormat wireFormat,
     BinaryReader dataIn)
 {
     return wireFormat.LooseUnmarshalNestedObject(dataIn);
 }