source: trunk/CrypP2P/P2PSettings.cs @ 1458

Last change on this file since 1458 was 1458, checked in by Paul Lelgemann, 12 years ago
  • Removed unused references and using statement in CrypP2P, PeerToPeer, PeerToPeerBaseProxy

+ Skeleton for P2PEditor

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