Ignore:
Timestamp:
Dec 8, 2009, 3:31:08 PM (12 years ago)
Author:
arnold
Message:

Beta Version of Distributed KeySearcher with P2PManager und P2PWorker.

Location:
trunk/CrypPlugins/PeerToPeerBase
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/PeerToPeerBase/IP2PControl.cs

    r872 r971  
    8383        bool DHTremove(string sKey);
    8484
     85        bool PeerStarted();
     86
    8587        PeerId GetPeerID(out string sPeerName);
    8688        //byte[] GetPeerID(out string sPeerName);
  • trunk/CrypPlugins/PeerToPeerBase/P2PPeer.cs

    r872 r971  
    307307        #endregion
    308308
     309        public bool PeerStarted()
     310        {
     311            return this.p2pPeer.PeerStarted;
     312        }
     313
    309314        /// <summary>
    310315        /// workaround method. If the PAP functions are used, but the PAP system isn't
  • trunk/CrypPlugins/PeerToPeerBase/PeerToPeerBase.cs

    r928 r971  
    644644        }
    645645
     646       
     647
     648        public override string ToString()
     649        {
     650            return this.stringId;
     651        }
     652
     653        public byte[] ToByteArray()
     654        {
     655            return this.byteId;
     656        }
     657
    646658        // not used at present...
    647659        public bool Equals(PeerId otherPeerId)
     
    652664                return false;
    653665        }
    654 
    655         public string ToString()
    656         {
    657             return this.stringId;
    658         }
    659 
    660         public byte[] ToByteArray()
    661         {
    662             return this.byteId;
    663         }
    664666    }
    665667}
  • trunk/CrypPlugins/PeerToPeerBase/PeerToPeerBase.csproj

    r836 r971  
    9999  </ItemGroup>
    100100  <ItemGroup>
     101    <Compile Include="DebugToFile.cs" />
    101102    <Compile Include="IP2PControl.cs" />
    102103    <Compile Include="P2PPeerSettings.cs" />
Note: See TracChangeset for help on using the changeset viewer.