예제 #1
0
 def __init__(self, servertype):
     multiprocessing.Process.__init__(self)
     self.toGameCh, self.forGameCh = makeChannel()
     self.serverType = servertype
예제 #2
0
파일: netlib.py 프로젝트: kasworld/wxgame2
 def __init__(self, servertype, profileopt):
     multiprocessing.Process.__init__(self)
     self.returnChannel, self.mainChannel = makeChannel()
     self.serverType = servertype
     self.profileopt = profileopt
     self.maxFPS = 60
예제 #3
0
 def __init__(self, servertype, channels):
     multiprocessing.Process.__init__(self)
     self.serverType = servertype
     self.channels = channels
     self.toMainCh, self.forMainCh = makeChannel()