Author: alanmc
Date: 2008-01-11 20:04:32 -0500 (Fri, 11 Jan 2008)
New Revision: 92706

Modified:
   trunk/bitsharp/src/MonoTorrent/Client/ChangeLog
   trunk/bitsharp/src/MonoTorrent/Client/EventArgs/AnnounceResponseEventArgs.cs
   trunk/bitsharp/src/MonoTorrent/Client/EventArgs/ChangeLog
   trunk/bitsharp/src/MonoTorrent/Client/EventArgs/TrackerRequestEventArgs.cs
   trunk/bitsharp/src/MonoTorrent/Client/Peers/ChangeLog
   trunk/bitsharp/src/MonoTorrent/Client/Peers/Peer.cs
   trunk/bitsharp/src/MonoTorrent/Client/Tracker/TrackerConnectionId.cs
Log:
* Client/Tracker/TrackerConnectionId.cs, Client/Peers/Peer.cs: internal
  - public 
* Client/EventArgs/TrackerRequestEventArgs.cs,
  Client/EventArgs/AnnounceResponseEventArgs.cs: internal -> public

Modified: trunk/bitsharp/src/MonoTorrent/Client/ChangeLog
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/ChangeLog     2008-01-12 01:04:11 UTC 
(rev 92705)
+++ trunk/bitsharp/src/MonoTorrent/Client/ChangeLog     2008-01-12 01:04:32 UTC 
(rev 92706)
@@ -0,0 +1,4 @@
+2008-01-12  Alan McGovern <[EMAIL PROTECTED]> 
+
+       * Tracker/TrackerConnectionId.cs: internal - public 
+

Modified: 
trunk/bitsharp/src/MonoTorrent/Client/EventArgs/AnnounceResponseEventArgs.cs
===================================================================
--- 
trunk/bitsharp/src/MonoTorrent/Client/EventArgs/AnnounceResponseEventArgs.cs    
    2008-01-12 01:04:11 UTC (rev 92705)
+++ 
trunk/bitsharp/src/MonoTorrent/Client/EventArgs/AnnounceResponseEventArgs.cs    
    2008-01-12 01:04:32 UTC (rev 92706)
@@ -6,7 +6,7 @@
 {
     public class AnnounceResponseEventArgs : TrackerResponseEventArgs
     {
-        internal MonoTorrentCollection<Peer> Peers;
+        public MonoTorrentCollection<Peer> Peers;
         internal TrackerConnectionID TrackerId;
 
 

Modified: trunk/bitsharp/src/MonoTorrent/Client/EventArgs/ChangeLog
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/EventArgs/ChangeLog   2008-01-12 
01:04:11 UTC (rev 92705)
+++ trunk/bitsharp/src/MonoTorrent/Client/EventArgs/ChangeLog   2008-01-12 
01:04:32 UTC (rev 92706)
@@ -0,0 +1,5 @@
+2008-01-12  Alan McGovern <[EMAIL PROTECTED]> 
+
+       * TrackerRequestEventArgs.cs, AnnounceResponseEventArgs.cs: internal ->
+         public
+

Modified: 
trunk/bitsharp/src/MonoTorrent/Client/EventArgs/TrackerRequestEventArgs.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/EventArgs/TrackerRequestEventArgs.cs  
2008-01-12 01:04:11 UTC (rev 92705)
+++ trunk/bitsharp/src/MonoTorrent/Client/EventArgs/TrackerRequestEventArgs.cs  
2008-01-12 01:04:32 UTC (rev 92706)
@@ -15,7 +15,7 @@
         public bool Successful
         {
             get { return successful; }
-            protected internal set { successful = value; }
+            set { successful = value; }
         }
 
         /// <summary>

Modified: trunk/bitsharp/src/MonoTorrent/Client/Peers/ChangeLog
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/Peers/ChangeLog       2008-01-12 
01:04:11 UTC (rev 92705)
+++ trunk/bitsharp/src/MonoTorrent/Client/Peers/ChangeLog       2008-01-12 
01:04:32 UTC (rev 92706)
@@ -0,0 +1,4 @@
+2008-01-12  Alan McGovern <[EMAIL PROTECTED]> 
+
+       * Peer.cs: internal - public 
+

Modified: trunk/bitsharp/src/MonoTorrent/Client/Peers/Peer.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/Peers/Peer.cs 2008-01-12 01:04:11 UTC 
(rev 92705)
+++ trunk/bitsharp/src/MonoTorrent/Client/Peers/Peer.cs 2008-01-12 01:04:32 UTC 
(rev 92706)
@@ -37,7 +37,7 @@
 
 namespace MonoTorrent.Client
 {
-    internal class Peer
+    public class Peer
     {
         #region Private Fields
 
@@ -72,7 +72,7 @@
 
 
 
-        public int CleanedUpCount
+        internal int CleanedUpCount
         {
             get { return this.cleanedUpCount; }
             set { this.cleanedUpCount = value; }
@@ -82,7 +82,7 @@
         /// <summary>
         /// Returns the number of times the peer has sent us a piece which 
failed a hashcheck
         /// </summary>
-        public int TotalHashFails
+        internal int TotalHashFails
         {
             get { return this.totalHashFails; }
         }
@@ -91,30 +91,30 @@
         /// <summary>
         /// The ID of the peer
         /// </summary>
-        public string PeerId
+        internal string PeerId
         {
             get { return peerId; }
-            internal set { peerId = value; }
+            set { peerId = value; }
         }
 
 
         /// <summary>
         /// True if the peer is a seeder
         /// </summary>
-        public bool IsSeeder
+        internal bool IsSeeder
         {
             get { return this.isSeeder; }
-            internal set { this.isSeeder = value; }
+            set { this.isSeeder = value; }
         }
 
 
         /// <summary>
         /// The number of times we tried to connect to the peer and failed
         /// </summary>
-        public int FailedConnectionAttempts
+        internal int FailedConnectionAttempts
         {
             get { return this.failedConnectionAttempts; }
-            internal set { this.failedConnectionAttempts = value; }
+            set { this.failedConnectionAttempts = value; }
         }
 
 
@@ -137,13 +137,13 @@
         /// <summary>
         /// The highest level of encryption that should be attempted with this 
peer
         /// </summary>
-        public EncryptionMethods EncryptionSupported
+        internal EncryptionMethods EncryptionSupported
         {
             get { return this.encryptionSupported; }
-            internal set { this.encryptionSupported = value; }
+            set { this.encryptionSupported = value; }
         }
 
-        public int RepeatedHashFails
+        internal int RepeatedHashFails
         {
             get { return this.repeatedHashFails; }
         }
@@ -182,7 +182,7 @@
         }
 
 
-        public byte[] CompactPeer()
+        internal byte[] CompactPeer()
         {
             byte[] data = new byte[6];
 
@@ -207,7 +207,7 @@
         }
 
 
-        public static MonoTorrentCollection<Peer> Decode(BEncodedList peers)
+        internal static MonoTorrentCollection<Peer> Decode(BEncodedList peers)
         {
             MonoTorrentCollection<Peer> list = new 
MonoTorrentCollection<Peer>(peers.Count);
             foreach (BEncodedDictionary dict in peers)
@@ -227,7 +227,7 @@
             return list;
         }
 
-        public static MonoTorrentCollection<Peer> Decode(BEncodedString peers)
+        internal static MonoTorrentCollection<Peer> Decode(BEncodedString 
peers)
         {
             // "Compact Response" peers are encoded in network byte order. 
             // IP's are the first four bytes

Modified: trunk/bitsharp/src/MonoTorrent/Client/Tracker/TrackerConnectionId.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/Tracker/TrackerConnectionId.cs        
2008-01-12 01:04:11 UTC (rev 92705)
+++ trunk/bitsharp/src/MonoTorrent/Client/Tracker/TrackerConnectionId.cs        
2008-01-12 01:04:32 UTC (rev 92706)
@@ -65,7 +65,7 @@
         /// </summary>
         /// <param name="request">Object containing information about the 
Async Request</param>
         /// <param name="manager">The TorrentManager associated with the 
TrackerConnection</param>
-        internal TrackerConnectionID(TrackerTier tier, Tracker tracker, bool 
trySubsequent, TorrentEvent torrentEvent, object request)
+        public TrackerConnectionID(TrackerTier tier, Tracker tracker, bool 
trySubsequent, TorrentEvent torrentEvent, object request)
         {
             this.TrackerTier = tier;
             this.Tracker = tracker;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to