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

            SmtpClient        = objBinaryReader.ReadTransportableObject <SmtpClient>();
            DefaulMailMessage = objBinaryReader.ReadTransportableObject <MailMessage>();
        }
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

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

            ApplicationManager.Logs     = objBinaryReader.ReadTransportableObject <LogManager>();
            ApplicationManager.Settings = objBinaryReader.ReadTransportableObject <SettingsManager>();
            ApplicationManager.FilePath = objBinaryReader.ReadString();
        }
Esempio n. 4
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            UploadRequest = objBinaryReader.ReadTransportableObject <UploadRequest>();
            Result        = (TaskResultType)objBinaryReader.ReadByte();
            UploadStats   = objBinaryReader.ReadTransportableObject <UploadStats>();
            Details       = objBinaryReader.ReadString();
        }
Esempio n. 5
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Job         = objBinaryReader.ReadTransportableObject <Job>();
            StartTime   = objBinaryReader.ReadDateTime();
            EndTime     = objBinaryReader.ReadDateTime();
            Result      = (JobResultType)objBinaryReader.ReadByte();
            TaskResults = objBinaryReader.ReadTransportableObject <TaskResultList>();
        }
Esempio n. 6
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            InternalFileLog = objBinaryReader.ReadTransportableObject <FileLog>();
            Logs            = objBinaryReader.ReadTransportableObject <LogBaseCollection>();

            SyncObject         = null;
            ActiveMessageTypes = null;

            RegisterLogs();
        }
Esempio n. 7
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Behavior   = objBinaryReader.ReadTransportableObject <WcfServiceBehavior>();
            Throttling = objBinaryReader.ReadTransportableObject <WcfServiceThrottling>();

            string strType = objBinaryReader.ReadString();

            Type = System.Type.GetType(strType);

            BaseAddresses    = objBinaryReader.ReadTransportableObject <ListBase <string> >();
            ServiceEndpoints = objBinaryReader.ReadTransportableObject <WcfServiceEndpointList>();
            MetadataEndpoint = objBinaryReader.ReadTransportableObject <WcfMetadataEndpoint>();
        }
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Url         = objBinaryReader.ReadString();
            Credentials = objBinaryReader.ReadTransportableObject <Credentials>();
        }
Esempio n. 9
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Enabled      = objBinaryReader.ReadBoolean();
            MessageTypes = objBinaryReader.ReadTransportableObject <MessageTypeCollection>();
        }
Esempio n. 10
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Task      = objBinaryReader.ReadTransportableObject <ITask>();
            StartTime = objBinaryReader.ReadDateTime();
            EndTime   = objBinaryReader.ReadDateTime();
        }
Esempio n. 11
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            _strName   = objBinaryReader.ReadString();
            _enuStatus = (JobStatusType)objBinaryReader.ReadByte();
            _objTasks  = objBinaryReader.ReadTransportableObject <ITaskList>();
        }
Esempio n. 12
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. 13
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Size          = objBinaryReader.ReadInt64();
            BytesSent     = objBinaryReader.ReadInt64();
            StartTime     = objBinaryReader.ReadDateTime();
            EndTime       = objBinaryReader.ReadDateTime();
            UploadRequest = objBinaryReader.ReadTransportableObject <UploadRequest>();
        }
Esempio n. 14
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            From       = objBinaryReader.ReadString();
            Subject    = objBinaryReader.ReadString();
            IsBodyHtml = objBinaryReader.ReadBoolean();
            Body       = objBinaryReader.ReadString();
            DeliveryNotificationOptions = (NetMail.DeliveryNotificationOptions)objBinaryReader.ReadByte();
            To = objBinaryReader.ReadTransportableObject <ListBase <string> >();
        }
Esempio n. 15
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            string strType = objBinaryReader.ReadString();

            Type = System.Type.GetType(strType);

            Binding = objBinaryReader.ReadTransportableObject <IWcfBinding>();
            Address = objBinaryReader.ReadString();
        }
Esempio n. 16
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. 17
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>();
        }
Esempio n. 18
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. 19
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Hash             = objBinaryReader.ReadString();
            Name             = objBinaryReader.ReadString();
            Description      = objBinaryReader.ReadString();
            ProductId        = objBinaryReader.ReadString();
            ProcessorId      = objBinaryReader.ReadString();
            SerialNumber     = objBinaryReader.ReadString();
            ArchitectureType = (ComputerProcessorArchitectureType)objBinaryReader.ReadByte();
            VersionString    = objBinaryReader.ReadString();
            ServicePack      = objBinaryReader.ReadString();
            Version          = objBinaryReader.ReadTransportableObject <VersionToken>();
        }
Esempio n. 20
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. 21
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>();
        }