-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmemo_SampleServer2
83 lines (59 loc) · 1.1 KB
/
memo_SampleServer2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
SampleServer2.py
def main
ServerCore(50090)
server_core.py
def init
__get_myip()
def __get_myip
ConnectionManerger()
connection_manager.py
// cm init start
def init
CoreNodeList()
core_node_list.py
def init
return ConnectionManerger
connection_manager.py
__add_peer()
def __add_peer
core_node_set.add()
core_node_list.py
def add
return ConnectionManerger
connection_manager.py
MessageManager()
message_manager.py
def init
return ConnectionManerger
connection_manager.py
return server_core
// cm init end
server_core.py
def start
ConnectionManerger start()
connection_manager.py
def start
__wait_for_access
def __wait_for_access
// soc, addr = self.socket.accept()
return connection_manager start
connection_manager.py
def start
return server_core start
server_core.py
def start
return SampleServer2
SampleServer2.py
def main
join_network()
server_core.py
def join_network
join_network()
connection_manager.py
def join_network
connection_P2PNW
def connection_P2PNW
message_manager build()
message_manager.py
def build
__wait_for_access??