Esempio n. 1
0
        } // end of marshal method

        public void unmarshal(DataInputStream dis)
        {
            try
            {
                _variableDatumID     = dis.readUint();
                _variableDatumLength = dis.readUint();
                int variableCount = (int)(_variableDatumLength / 64) + (_variableDatumLength % 64 > 0 ? 1 : 0); //Post processed
                for (int idx = 0; idx < variableCount; idx++)
                {
                    EightByteChunk anX = new EightByteChunk();
                    anX.unmarshal(dis);
                    _variableDatums.Add(anX);
                }
                ;
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
        } // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _minefieldID.unmarshal(dis);
                _requestingEntityID.unmarshal(dis);
                _requestID           = dis.readByte();
                _numberOfMissingPdus = dis.readByte();
                for (int idx = 0; idx < _numberOfMissingPdus; idx++)
                {
                    EightByteChunk anX = new EightByteChunk();
                    anX.unmarshal(dis);
                    _missingPduSequenceNumbers.Add(anX);
                }
                ;
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
        public new void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
               _minefieldID.unmarshal(dis);
               _requestingEntityID.unmarshal(dis);
               _requestID = dis.readByte();
               _numberOfMissingPdus = dis.readByte();
            for(int idx = 0; idx < _numberOfMissingPdus; idx++)
            {
               EightByteChunk anX = new EightByteChunk();
            anX.unmarshal(dis);
            _missingPduSequenceNumbers.Add(anX);
            };

            } // end try
               catch(Exception e)
            {
              Trace.WriteLine(e);
              Trace.Flush();
            }
        }
        public void unmarshal(DataInputStream dis)
        {
            try
            {
                _variableDatumID = dis.readUint();
                _variableDatumLength = dis.readUint();
            int variableCount = (int)(_variableDatumLength / 64) + (_variableDatumLength % 64 > 0 ? 1 : 0);  //Post processed
                for(int idx = 0; idx < variableCount; idx++)
                {
                    EightByteChunk anX = new EightByteChunk();
                    anX.unmarshal(dis);
                    _variableDatums.Add(anX);
                };

            } // end try
            catch(Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        }