Esempio n. 1
0
        public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = marshalSize + 4; // _variableDatumID
            marshalSize = marshalSize + 4; // _variableDatumLength
            for (int idx = 0; idx < _variableDatums.Count; idx++)
            {
                EightByteChunk listElement = (EightByteChunk)_variableDatums[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _minefieldID.getMarshalledSize();        // _minefieldID
            marshalSize = marshalSize + _requestingEntityID.getMarshalledSize(); // _requestingEntityID
            marshalSize = marshalSize + 1;                                       // _requestID
            marshalSize = marshalSize + 1;                                       // _numberOfMissingPdus
            for (int idx = 0; idx < _missingPduSequenceNumbers.Count; idx++)
            {
                EightByteChunk listElement = (EightByteChunk)_missingPduSequenceNumbers[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }