source: trunk/CrypP2P/P2PSettings.cs @ 1378

Last change on this file since 1378 was 1374, checked in by Paul Lelgemann, 12 years ago

+ Added P2P connection to CrypP2P based on PeerToPeerBase plugin (using default settings)
+ Added MD5Collider to CoreDeveloper solution

File size: 1.6 KB
Line 
1/*
2   Copyright 2010 Paul Lelgemann, University of Duisburg-Essen
3
4   Licensed under the Apache License, Version 2.0 (the "License");
5   you may not use this file except in compliance with the License.
6   You may obtain a copy of the License at
7
8       http://www.apache.org/licenses/LICENSE-2.0
9
10   Unless required by applicable law or agreed to in writing, software
11   distributed under the License is distributed on an "AS IS" BASIS,
12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   See the License for the specific language governing permissions and
14   limitations under the License.
15*/
16
17using System;
18using System.Collections.Generic;
19using System.Linq;
20using System.Text;
21using Cryptool.P2P.Helper;
22using Cryptool.P2P.Internal;
23
24namespace Cryptool.P2P
25{
26    public class P2PSettings
27    {
28        public P2PBase Base { get; set; }
29        public string PeerName { get; set; }
30        public string WorldName { get; set; }
31        public bool Log2Monitor { get; set; }
32        public P2PLinkManagerType LinkManagerType { get; set; }
33        public P2PBootstrapperType BSType { get; set; }
34        public P2POverlayType OverlayType { get; set; }
35        public P2PDHTType DhtType { get; set; }
36
37        public P2PSettings()
38        {
39            PeerName = PAPCertificate.CERTIFIED_PEER_NAME;
40            WorldName = "CrypTool";
41            Log2Monitor = true;
42            LinkManagerType = P2PLinkManagerType.Snal;
43            BSType = P2PBootstrapperType.IrcBootstrapper;
44            OverlayType = P2POverlayType.FullMeshOverlay;
45            DhtType = P2PDHTType.FullMeshDHT;
46        }
47    }
48}
Note: See TracBrowser for help on using the repository browser.