equal
deleted
inserted
replaced
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 |