[beepy-devel] Reactor issue
Status: Alpha
Brought to you by:
jpwarren
|
From: grunch c. <arr...@gm...> - 2005-05-13 11:32:48
|
Hello! I use BEEPy 0.5 to write client that connects to a server. I investigated exaple clients and wrote my own (similar to 'echoclient'). I have following issue with 'reactor'. Once 'reactor' is started, it takes whole control of a main thread and no direct interaction with client is possible. It only does things that are defined in profile class (hard-coded) or when channel is started (e.g. do something for specified period of time) - when some communication event occurs. What I need is to create connection to server and call some client's method when I need it (I need to interact with my client). Is it possible to do this? Looking at 'EchoClient' (not 'echoclient') exaple (that I guess works only with BEEPy 0.3 library) I think that it was possible and with BEEPy 0.5 is not. Maybe there is a way to 'not to use' reactor. Please help! Karol Ilow |