コード例 #1
0
ファイル: Point.py プロジェクト: whaleygeek/py-IoticAgent
 def __init__(self, client, foc, lid, pid, guid):
     self.__client = client
     Validation.foc_check(foc)
     self.__foc = foc
     self.__lid = Validation.lid_check_convert(lid)
     self.__pid = Validation.pid_check_convert(pid)
     self.__guid = Validation.guid_check_convert(guid)
コード例 #2
0
ファイル: Thing.py プロジェクト: aniknarayan/ioticiser_new
 def __init__(self, client, lid, guid, epId):
     super(Thing, self).__init__(client, guid)
     self.__lid = Validation.lid_check_convert(lid)
     self.__epId = Validation.guid_check_convert(epId, allow_none=True)
     # Keep track of newly created points & subs (the requests for which originated from current agent)
     self.__new_feeds = ThreadSafeDict()
     self.__new_controls = ThreadSafeDict()
     self.__new_subs = ThreadSafeDict()
コード例 #3
0
ファイル: Thing.py プロジェクト: whaleygeek/py-IoticAgent
 def __init__(self, client, lid, guid, epId):
     self.__client = client
     self.__lid = Validation.lid_check_convert(lid)
     self.__guid = Validation.guid_check_convert(guid)
     self.__epId = Validation.guid_check_convert(epId)
     #
     # Keep track of newly created points & subs (the requests for which originated from current agent)
     self.__new_feeds = ThreadSafeDict()
     self.__new_controls = ThreadSafeDict()
     self.__new_subs = ThreadSafeDict()
コード例 #4
0
 def __init__(self, client, subid, feedid, lid):
     self.__client = client
     self.__subid = Validation.guid_check_convert(subid)
     self.__feedid = Validation.guid_check_convert(feedid)
     self.__lid = Validation.lid_check_convert(lid)
コード例 #5
0
 def __init__(self, client, subid, pointid, lid):
     self.__client = client
     self.__subid = Validation.guid_check_convert(subid)
     self.__pointid = Validation.guid_check_convert(pointid)
     self.__lid = Validation.lid_check_convert(lid)