source: trunk/CrypP2P/P2PSettings.cs @ 1433

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

o Extracted common classes from PeerToPeerBase plugin into new PeerToPeer plugin as a preparation for the new P2P proxy
o Modified directory properties to ignore the CrypBuild directory

File size: 1.7 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;
23using Cryptool.Plugins.PeerToPeer.Internal;
24
25namespace Cryptool.P2P
26{
27    public class P2PSettings
28    {
29        public P2PBase Base { get; set; }
30        public string PeerName { get; set; }
31        public string WorldName { get; set; }
32        public bool Log2Monitor { get; set; }
33        public P2PLinkManagerType LinkManagerType { get; set; }
34        public P2PBootstrapperType BSType { get; set; }
35        public P2POverlayType OverlayType { get; set; }
36        public P2PDHTType DhtType { get; set; }
37
38        public P2PSettings()
39        {
40            PeerName = PAPCertificate.CERTIFIED_PEER_NAME;
41            WorldName = "CrypTool2";
42            Log2Monitor = true;
43            LinkManagerType = P2PLinkManagerType.Snal;
44            BSType = P2PBootstrapperType.IrcBootstrapper;
45            OverlayType = P2POverlayType.FullMeshOverlay;
46            DhtType = P2PDHTType.FullMeshDHT;
47        }
48    }
49}
Note: See TracBrowser for help on using the repository browser.