Add Dockerized example (no code or version change)
[ric-plt/xapp-frame-py.git] / examples / pong_xapp.py
index b19beec..e0939f0 100644 (file)
@@ -23,7 +23,7 @@ from ricxappframe.xapp_frame import RMRXapp
 
 def post_init(_self):
     """post init"""
-    print("ping xapp could do some useful stuff here!")
+    print("pong xapp could do some useful stuff here!")
 
 
 def sixtyh(self, summary, sbuf):
@@ -44,4 +44,4 @@ def defh(self, summary, sbuf):
 
 xapp = RMRXapp(default_handler=defh, post_init=post_init, use_fake_sdl=True)
 xapp.register_callback(sixtyh, 60000)
-xapp.run()
+xapp.run()  # will not thread by default