示例#1
0
int main() {
	printGreetings();

	//free(phone);
	/*
	Profile* profile = requestProfile();
	if (profile == NULL) {
		exitBook();
	}
	*/

	return 0;
}
void Horus::ServerEmulator::Core::Emulator::run()
{
    init();
    printGreetings();
    m_input_parser->printPrompt();

    m_server = new Horus::Commons::Network::StreamServer(
        m_address,
        m_stream_port,
        *m_io_service,
        m_connection_manager);

    connectServer();

    m_server->start();
    m_io_service->run();

    tearDown();
}