;ò ºó@c@s¯dkZdkZdkZdkZdkZdkZdkZdkZdkZdk Z e a d„Z d„Z ye eiƒWn%ej odGHeidƒnXdS(NcOsˆd| | | fGHt|ƒtijoYt|ƒdjoBti|dƒo*|d}d|fGHt i ||ƒq€q„ndS(NsIncoming msg=%s (k=%s, kw=%s)iisSending it back to %s( smsgskskwstypestypess TupleTypeslenserl_termsIsErlPidsdestsmbsSend(smsgskskwsdest((sZ/mnt/gmirror/ports/devel/py_otp_interface/work/py_interface-0.93/test_erl_node_pingpong.pys__TestMBoxCallbacks  c Cs‡y ti|ddƒ\} }Wn*tij o}|GHtidƒnXd}d}d}d} x„| D]|\}}|djod|dGHtidƒql|d jo |}ql|d jo d} ql|d jo |}qlqlW| otiƒnd GHti|tid|ƒƒ} d GH| iƒdGH| itƒa| itƒ} dGH| idƒdGHtiƒ}|iƒdS(Nis?dn:c:s localhostspy_interface_testscookieis-?sUsage: %s erlnodes-cs-ds-nsCreating node...sPublishing node...sCreating mbox...sRegistering mbox as p...sps Looping...( sgetoptsargvsoptssargsserrorsinfossyssexitshostNames ownNodeNamescookiesdoDebugsoptcharsoptargs erl_commons DebugOnAllserl_nodesErlNodeserl_optss ErlNodeOptssnsPublishs CreateMBoxsNonesmbs__TestMBoxCallbacksms RegisterNameserl_eventhandlersGetEventHandlersevhandsLoop( sargvsevhandshostNamesoptcharsoptargs ownNodeNamesargsscookiesinfosdoDebugsmsnsopts((sZ/mnt/gmirror/ports/devel/py_otp_interface/work/py_interface-0.93/test_erl_node_pingpong.pysmain(sF            sInterrupted. Exiting.i(ssysstypessstringssocketsgetoptserl_termserl_nodeserl_optss erl_commonserl_eventhandlersNonesmbs__TestMBoxCallbacksmainsargvsKeyboardInterruptsexit( serl_optsserl_eventhandlersmainsstringserl_termserl_nodessyss__TestMBoxCallbacksgetopts erl_commonstypesssocket((sZ/mnt/gmirror/ports/devel/py_otp_interface/work/py_interface-0.93/test_erl_node_pingpong.pys? s"           +