Beispiel #1
0
def run_as_http():
    service = Service(innerProtocol=InnerHttpProtocol,
                      httpFactory=GameHttpFactory)
    service.start()
Beispiel #2
0
def run_as_shell():
    service = Service(innerProtocol=InnerShellProtocol,
                      httpFactory=ShellHttpFactory)
    service.start()
Beispiel #3
0
def run_as_sdk():
    service = Service(httpFactory=SdkHttpFactory)
    service.start()
Beispiel #4
0
def run_as_connect():
    service = Service(innerProtocol=ConnectInnerProtocol,
                      outerProtocol=ConnectOuterProtocol)
    service.start()
Beispiel #5
0
def run_as_quick():
    service = Service(innerProtocol=QuickInnerProtocol)
    service.start()
Beispiel #6
0
def run_as_entity():
    service = Service(innerProtocol=EntityInnerProtocol)
    service.start()
Beispiel #7
0
def run_as_game():
    service = Service(innerProtocol=GameInnerServerProtocol)
    service.start()