peer3.config
上传用户:weidisz
上传日期:2022-02-13
资源大小:564k
文件大小:1k
源码类别:

P2P编程

开发平台:

Java

  1. <?xml version="1.0"?>
  2. <Configuration>
  3. <General>
  4. <JavaPlatform>ME</JavaPlatform>
  5. <UseSecurity>true</UseSecurity>
  6. <UseDatabase>false</UseDatabase>
  7. <DatabaseURI>jdbc:mysql://localhost:3306/</DatabaseURI>
  8. <DatabaseUser>sepp</DatabaseUser>
  9. <DatabasePassword>sepp</DatabasePassword>
  10. </General>
  11. <Routing>
  12. <AlgorithmImplementation>org.sepp.routing.algorithms.DynamicSourceRouting</AlgorithmImplementation>
  13. <RouteCache>org.sepp.routing.caches.PathCache</RouteCache>
  14. <UseReversePath>True</UseReversePath>
  15. <UseSourceRoutes>True</UseSourceRoutes>
  16. <UseLinkCache>False</UseLinkCache>
  17. </Routing>
  18. <Network>
  19. <RunLocal>True</RunLocal>
  20. <PeerId>peer3</PeerId>
  21. <TransportType>0</TransportType>
  22. <Nodes>
  23. <Node id="peer2">127.0.0.1:12002</Node>
  24. <Node id="peer4">127.0.0.1:12004</Node>
  25. </Nodes>
  26. </Network>
  27. <Security>
  28. <SecurityLevel>0</SecurityLevel>
  29. <KeystoreFolder>key</KeystoreFolder>
  30. <KeystorePassword>sepppass</KeystorePassword>
  31. <SymmetricAlgorithm>AES</SymmetricAlgorithm>
  32. <AsymmetricAlgorithm>RSA</AsymmetricAlgorithm>
  33. <HashAlgorithm>SHA-1</HashAlgorithm>
  34. <KeyPasswords>
  35. <KeyPassword id="SMEPP">sepppeer</KeyPassword>
  36. <KeyPassword id="peer3">sepppeer</KeyPassword>
  37. </KeyPasswords>
  38. </Security>
  39. </Configuration>