Maps global-id for a proxy to the proxy instance. May return None if the id is not valid.
(self, id)
| 99 | self.baseDirectoryMap = {} |
| 100 | |
| 101 | def mapIdToProxy(self, id): |
| 102 | """ |
| 103 | Maps global-id for a proxy to the proxy instance. May return None if the |
| 104 | id is not valid. |
| 105 | """ |
| 106 | try: |
| 107 | id = int(id) |
| 108 | except: |
| 109 | return None |
| 110 | if id <= 0: |
| 111 | return None |
| 112 | return simple.servermanager._getPyProxy( |
| 113 | simple.servermanager.ActiveConnection.Session.GetRemoteObject(id) |
| 114 | ) |
| 115 | |
| 116 | def getView(self, vid): |
| 117 | """ |
no test coverage detected