|
|
|
@ -293,6 +293,18 @@ class Basic (DefinitionBase) :
|
|
|
|
|
# clear cache
|
|
|
|
|
self.clear_cache(sid)
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
|
|
@rpc(Integer, Integer, _returns = Integer)
|
|
|
|
|
def clear_pid_cache (self, sid, pid) :
|
|
|
|
|
if not self.check_sid_cert(sid):
|
|
|
|
|
return 1
|
|
|
|
|
|
|
|
|
|
if pid in self.find_sid_pid_file(sid):
|
|
|
|
|
# clear pid cache
|
|
|
|
|
self._delete_pid(pid)
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
|
|
return 2
|
|
|
|
|
|
|
|
|
|
@rpc(Integer, Integer, String, _returns = Array( Integer ))
|
|
|
|
|
def post_sid ( self, sid, cert_id, lang) :
|
|
|
|
|