Esempio n. 1
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            MaxConcurrentCalls     = objBinaryReader.ReadInt32();
            MaxConcurrentInstances = objBinaryReader.ReadInt32();
            MaxConcurrentSessions  = objBinaryReader.ReadInt32();
        }
Esempio n. 2
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Major    = objBinaryReader.ReadInt32();
            Minor    = objBinaryReader.ReadInt32();
            Build    = objBinaryReader.ReadInt32();
            Revision = objBinaryReader.ReadInt32();
            Number   = null;
        }
Esempio n. 3
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            MaxArrayLength         = objBinaryReader.ReadInt32();
            MaxBytesPerRead        = objBinaryReader.ReadInt32();
            MaxDepth               = objBinaryReader.ReadInt32();
            MaxNameTableCharCount  = objBinaryReader.ReadInt32();
            MaxStringContentLength = objBinaryReader.ReadInt32();
        }
Esempio n. 4
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Host                  = objBinaryReader.ReadString();
            Port                  = objBinaryReader.ReadInt32();
            EnableSsl             = objBinaryReader.ReadBoolean();
            TimeOut               = objBinaryReader.ReadInt32();
            DeliveryMethod        = (NetMail.SmtpDeliveryMethod)objBinaryReader.ReadByte();
            UseDefaultCredentials = objBinaryReader.ReadBoolean();
            Credentials           = objBinaryReader.ReadTransportableObject <Credentials>();
        }
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Binding         = objBinaryReader.ReadTransportableObject <IWcfBinding>();
            EndpointAddress = objBinaryReader.ReadTransportableObject <WcfEndpointAddress>();
            Priority        = objBinaryReader.ReadInt32();
        }
Esempio n. 6
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Port        = objBinaryReader.ReadInt32();
            ChannelName = objBinaryReader.ReadString();
            MachineName = objBinaryReader.ReadString();
        }
Esempio n. 7
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Source      = objBinaryReader.ReadString();
            Destination = objBinaryReader.ReadString();
            Credentials = objBinaryReader.ReadTransportableObject <Credentials>();
            TimeOut     = objBinaryReader.ReadInt32();
        }
Esempio n. 8
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Enabled               = objBinaryReader.ReadBoolean();
            Address               = objBinaryReader.ReadString();
            Port                  = objBinaryReader.ReadInt32();
            Credentials           = objBinaryReader.ReadTransportableObject <Credentials>();
            BypassProxyOnLocal    = objBinaryReader.ReadBoolean();
            UseDefaultCredentials = objBinaryReader.ReadBoolean();
        }
Esempio n. 9
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            int intCount = objBinaryReader.ReadInt32();

            for (int intIndex = 0; intIndex < intCount; intIndex++)
            {
                TObjectType objItem = (TObjectType)objBinaryReader.ReadObject();
                Add(objItem);
            }
        }
Esempio n. 10
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            CloseTimeout           = objBinaryReader.ReadTimeSpan();
            OpenTimeout            = objBinaryReader.ReadTimeSpan();
            ReceiveTimeout         = objBinaryReader.ReadTimeSpan();
            SendTimeout            = objBinaryReader.ReadTimeSpan();
            HostNameComparisonMode = objBinaryReader.ReadEnum <HostNameComparisonMode>();
            MaxBufferPoolSize      = objBinaryReader.ReadInt64();
            MaxReceivedMessageSize = objBinaryReader.ReadInt64();
            PortSharingEnabled     = objBinaryReader.ReadBoolean();
            TransactionFlow        = objBinaryReader.ReadBoolean();
            MaxBufferSize          = objBinaryReader.ReadInt32();
            MaxConnections         = objBinaryReader.ReadInt32();
            ListenBacklog          = objBinaryReader.ReadInt32();
            TransferMode           = objBinaryReader.ReadEnum <TransferMode>();
            SecurityMode           = objBinaryReader.ReadEnum <SecurityMode>();
            MessageEncoding        = objBinaryReader.ReadEnum <WSMessageEncoding>();
            ReaderQuotas           = objBinaryReader.ReadTransportableObject <WcfReaderQuotas>();
            ReliableSession        = objBinaryReader.ReadTransportableObject <WcfOptionalReliableSession>();
        }
Esempio n. 11
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            int intCount = objBinaryReader.ReadInt32();

            for (int intIndex = 0; intIndex < intCount; intIndex++)
            {
                string strKey   = objBinaryReader.ReadString();
                object objValue = objBinaryReader.ReadObject();

                Settings.Add(strKey, objValue);
            }
        }
Esempio n. 12
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            /// Do not execute the base class method.  We will handle the reading at
            /// this level to better control performance.
            ///
            Initialize();

            int intCount = objBinaryReader.ReadInt32();

            for (int intIndex = 0; intIndex < intCount; intIndex++)
            {
                TObjectBase objChildObject = objBinaryReader.ReadTransportableObject <TObjectBase>();
                Add(objChildObject);
            }
        }
Esempio n. 13
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            CloseTimeout           = objBinaryReader.ReadTimeSpan();
            OpenTimeout            = objBinaryReader.ReadTimeSpan();
            ReceiveTimeout         = objBinaryReader.ReadTimeSpan();
            SendTimeout            = objBinaryReader.ReadTimeSpan();
            HostNameComparisonMode = objBinaryReader.ReadEnum <HostNameComparisonMode>();
            MaxBufferSize          = objBinaryReader.ReadInt32();
            MaxBufferPoolSize      = objBinaryReader.ReadInt64();
            MaxReceivedMessageSize = objBinaryReader.ReadInt64();
            MessageEncoding        = objBinaryReader.ReadEnum <WSMessageEncoding>();
            SecurityMode           = objBinaryReader.ReadEnum <BasicHttpSecurityMode>();
            TransferMode           = objBinaryReader.ReadEnum <TransferMode>();
            ReaderQuotas           = objBinaryReader.ReadTransportableObject <WcfReaderQuotas>();
        }