-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemo_SampleServer1
More file actions
57 lines (41 loc) · 831 Bytes
/
Copy pathmemo_SampleServer1
File metadata and controls
57 lines (41 loc) · 831 Bytes
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
SampleServer1.py
def main
ServerCore(50082)
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()で待機
//ここまでがSampleServer1.pyの立ち上げ。接続待機
__handle_message
def __handle_message