Add bootstrap method to TwoPartyServer

This commit is contained in:
Jason Paryani
2015-06-04 16:49:46 -07:00
parent 606a325cfa
commit 7ff67ebf4a
3 changed files with 11 additions and 0 deletions

View File

@@ -2352,6 +2352,9 @@ cdef class TwoPartyServer:
wait_forever()
cpdef bootstrap(self) except +reraise_kj_exception:
return _CapabilityClient()._init(helpers.bootstrapHelperServer(deref(self.thisptr)), self)
property port:
def __get__(self):
if self._port is None: