peer4.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. <IOHandler>org.sepp.connections.stdio.StandardIOHandler</IOHandler>
  11. </General>
  12. <Routing>
  13. <AlgorithmImplementation>org.sepp.routing.algorithms.DynamicSourceRouting</AlgorithmImplementation>
  14. <RouteCache>org.sepp.routing.caches.PathCache</RouteCache>
  15. <UseReversePath>True</UseReversePath>
  16. <UseSourceRoutes>True</UseSourceRoutes>
  17. <UseLinkCache>False</UseLinkCache>
  18. </Routing>
  19. <Network>
  20. <RunLocal>True</RunLocal>
  21. <PeerId>peer4</PeerId>
  22. <TransportType>0</TransportType>
  23. <Nodes>
  24. <Node id="peer3">127.0.0.1:12003</Node>
  25. <Node id="peer5">127.0.0.1:12005</Node>
  26. </Nodes>
  27. </Network>
  28. <Security>
  29. <SecurityLevel>0</SecurityLevel>
  30. <KeystoreFolder>key</KeystoreFolder>
  31. <KeystorePassword>sepppass</KeystorePassword>
  32. <SymmetricAlgorithm>AES</SymmetricAlgorithm>
  33. <AsymmetricAlgorithm>RSA</AsymmetricAlgorithm>
  34. <HashAlgorithm>SHA-1</HashAlgorithm>
  35. <KeyPasswords>
  36. <KeyPassword id="SMEPP">sepppeer</KeyPassword>
  37. <KeyPassword id="peer4">sepppeer</KeyPassword>
  38. </KeyPasswords>
  39. </Security>
  40. </Configuration>