[Nmailserver-commits] SF.net SVN: nmailserver: [215] NMail/trunk/NMail
Brought to you by:
dframpton-oss,
tmyroadctfig
|
From: <tmy...@us...> - 2007-06-10 14:32:18
|
Revision: 215
http://svn.sourceforge.net/nmailserver/?rev=215&view=rev
Author: tmyroadctfig
Date: 2007-06-10 07:32:15 -0700 (Sun, 10 Jun 2007)
Log Message:
-----------
Moved ServiceStartInfo. Added serializable tag to some classes.
Modified Paths:
--------------
NMail/trunk/NMail/Configuration/NMailConfiguration.cs
NMail/trunk/NMail/DataTypes/Classification.cs
NMail/trunk/NMail/DataTypes/DeliveryBatch.cs
NMail/trunk/NMail/DataTypes/DeliveryResult.cs
NMail/trunk/NMail/DataTypes/DeliveryResultType.cs
NMail/trunk/NMail/DataTypes/LatLong.cs
NMail/trunk/NMail/DataTypes/LocalStore/LocalStoreDelivery.cs
NMail/trunk/NMail/DataTypes/MimeContentTransferEncoding.cs
NMail/trunk/NMail/DataTypes/MimeContentType.cs
NMail/trunk/NMail/DataTypes/RecipientDeliveryResult.cs
NMail/trunk/NMail/DataTypes/SmtpDeliveryResult.cs
NMail/trunk/NMail/DataTypes/SmtpMessage.cs
NMail/trunk/NMail/DataTypes/SmtpMessageRecipient.cs
NMail/trunk/NMail/NMail.csproj
Removed Paths:
-------------
NMail/trunk/NMail/DataTypes/ServiceStartInfo.cs
Modified: NMail/trunk/NMail/Configuration/NMailConfiguration.cs
===================================================================
--- NMail/trunk/NMail/Configuration/NMailConfiguration.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/Configuration/NMailConfiguration.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -23,6 +23,7 @@
using NMail.Authentication;
using NMail.DataTypes;
using NMail.DataTypes.LocalStore;
+using NMail.DataTypes.Service;
using NMail.DataTypes.Spool;
using NMail.Helper;
Modified: NMail/trunk/NMail/DataTypes/Classification.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/Classification.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/Classification.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -20,6 +20,7 @@
using System.Text;
namespace NMail.DataTypes {
+ [Serializable]
public enum Classification {
Public,
Modified: NMail/trunk/NMail/DataTypes/DeliveryBatch.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/DeliveryBatch.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/DeliveryBatch.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -22,6 +22,7 @@
/// <summary>
/// Represents a batch of messages to be delivered to a single host.
/// </summary>
+ [Serializable]
public class DeliveryBatch {
/// <summary>
/// The host to deliver to.
Modified: NMail/trunk/NMail/DataTypes/DeliveryResult.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/DeliveryResult.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/DeliveryResult.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -21,6 +21,7 @@
/// <summary>
/// Represents the results of a delivery attempt.
/// </summary>
+ [Serializable]
public class DeliveryResult {
protected DeliveryResultType type;
Modified: NMail/trunk/NMail/DataTypes/DeliveryResultType.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/DeliveryResultType.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/DeliveryResultType.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -21,6 +21,7 @@
/// <summary>
/// Details the result of an attempt to deliver a message.
/// </summary>
+ [Serializable]
public enum DeliveryResultType {
/// <summary>
/// Success.
Modified: NMail/trunk/NMail/DataTypes/LatLong.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/LatLong.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/LatLong.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -20,6 +20,7 @@
using System.Text;
namespace NMail.DataTypes {
+ [Serializable]
public struct LatLong {
public float Lat;
Modified: NMail/trunk/NMail/DataTypes/LocalStore/LocalStoreDelivery.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/LocalStore/LocalStoreDelivery.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/LocalStore/LocalStoreDelivery.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -26,6 +26,7 @@
/// <summary>
/// Summary description for LocalStoreDelivery.
/// </summary>
+ [Serializable]
public class LocalStoreDelivery {
public LocalStoreDelivery(SmtpMessageRecipient recipient, Folder nominalTargetFolder) {
Modified: NMail/trunk/NMail/DataTypes/MimeContentTransferEncoding.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/MimeContentTransferEncoding.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/MimeContentTransferEncoding.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -21,6 +21,7 @@
/// <summary>
/// The valid MIME content transfer encodings.
/// </summary>
+ [Serializable]
public enum MimeContentTransferEncoding {
/// <summary>
/// Seven bit ASCII.
Modified: NMail/trunk/NMail/DataTypes/MimeContentType.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/MimeContentType.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/MimeContentType.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -21,6 +21,7 @@
/// <summary>
/// The valid MIME content types.
/// </summary>
+ [Serializable]
public enum MimeContentType {
/// <summary>
/// No MIME type was specified. A part with this type should be treated
Modified: NMail/trunk/NMail/DataTypes/RecipientDeliveryResult.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/RecipientDeliveryResult.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/RecipientDeliveryResult.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -21,6 +21,7 @@
/// <summary>
/// Details the delivery result for a single recipient.
/// </summary>
+ [Serializable]
public class RecipientDeliveryResult : DeliveryResult {
private SmtpMessageRecipient recipient;
Deleted: NMail/trunk/NMail/DataTypes/ServiceStartInfo.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/ServiceStartInfo.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/ServiceStartInfo.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -1,66 +0,0 @@
-/*
- * Copyright 2004-2006 Luke Quinane and Daniel Frampton
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-using System;
-using System.Diagnostics;
-
-using NMail.DataTypes.Service;
-
-namespace NMail.DataTypes {
- /// <summary>
- /// Specifies the details of a service to start.
- /// </summary>
- public class ServiceStartInfo : MarshalByRefObject {
- /// <summary>
- /// Creates a new service start infomation object.
- /// </summary>
- /// <param name="service">The service to start.</param>
- /// <param name="automatic">True if the service should be started when the system starts.</param>
- public ServiceStartInfo(IService service, bool automatic) {
- this.service = service;
- this.automaticStart = automatic;
- }
-
- private IService service;
-
- /// <summary>
- /// The service to start.
- /// </summary>
- public IService Service {
- get {
- return this.service;
- }
- set {
- this.service = value;
- }
- }
-
- private bool automaticStart;
-
- /// <summary>
- /// Should the service be started automatically on system start?
- /// </summary>
- public bool AutomaticStart {
- get {
- return this.automaticStart;
- }
- set {
- this.automaticStart = value;
- }
- }
- }
-}
Modified: NMail/trunk/NMail/DataTypes/SmtpDeliveryResult.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/SmtpDeliveryResult.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/SmtpDeliveryResult.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -23,6 +23,7 @@
/// <summary>
/// Details the results of a delivery attempt of a SMTP message.
/// </summary>
+ [Serializable]
public class SmtpDeliveryResult {
/// <summary>
/// A list of results for the recipients of the message.
Modified: NMail/trunk/NMail/DataTypes/SmtpMessage.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/SmtpMessage.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/SmtpMessage.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -30,6 +30,7 @@
/// sender and recipients that the message will be delivered to. The Message class
/// contains the message data that is displayed in the user's email client.
/// </remarks>
+ [Serializable]
public class SmtpMessage {
/// <summary>
/// Creates a new SMTP message.
Modified: NMail/trunk/NMail/DataTypes/SmtpMessageRecipient.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/SmtpMessageRecipient.cs 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/DataTypes/SmtpMessageRecipient.cs 2007-06-10 14:32:15 UTC (rev 215)
@@ -21,6 +21,7 @@
/// <summary>
/// A recipient of a SMTP message.
/// </summary>
+ [Serializable]
public class SmtpMessageRecipient {
/// <summary>
/// Creates a new message recipient.
Modified: NMail/trunk/NMail/NMail.csproj
===================================================================
--- NMail/trunk/NMail/NMail.csproj 2007-06-10 03:37:14 UTC (rev 214)
+++ NMail/trunk/NMail/NMail.csproj 2007-06-10 14:32:15 UTC (rev 215)
@@ -225,7 +225,7 @@
<Compile Include="DataTypes\RecipientDeliveryResult.cs">
<SubType>Code</SubType>
</Compile>
- <Compile Include="DataTypes\ServiceStartInfo.cs">
+ <Compile Include="DataTypes\Service\ServiceStartInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="DataTypes\Service\IService.cs" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|