runtime/WampClient.py
changeset 1756 08e4394ff4fb
parent 1753 19f19c66b67e
child 1782 5b6ad7a7fd9d
equal deleted inserted replaced
1755:624b9694cb0d 1756:08e4394ff4fb
    55 def GetCallee(name):
    55 def GetCallee(name):
    56     """ Get Callee or Subscriber corresponding to '.' spearated object path """
    56     """ Get Callee or Subscriber corresponding to '.' spearated object path """
    57     global _PySrv
    57     global _PySrv
    58     names = name.split('.')
    58     names = name.split('.')
    59     obj = _PySrv.plcobj
    59     obj = _PySrv.plcobj
    60     while names: obj = getattr(obj, names.pop(0))
    60     while names:
       
    61         obj = getattr(obj, names.pop(0))
    61     return obj
    62     return obj
    62 
    63 
    63 
    64 
    64 class WampSession(wamp.ApplicationSession):
    65 class WampSession(wamp.ApplicationSession):
    65 
    66