Пример #1
0
 def __init__(self, transport, pipe, permissions, share=None):
     Thread.__init__(self)
     self.server = 0
     self.transport = transport
     self.credentials = transport.get_credentials()
     self.tid = 0
     self.fid = 0
     self.share = share
     self.port = transport.get_dport()
     self.pipe = pipe
     self.permissions = permissions
     self.daemon = True
Пример #2
0
 def __init__(self, transport, pipe, permissions, share=None):
     Thread.__init__(self)
     self.server = 0
     self.transport = transport
     self.credentials = transport.get_credentials()
     self.tid = 0
     self.fid = 0
     self.share = share
     self.port = transport.get_dport()
     self.pipe = pipe
     self.permissions = permissions
     self.daemon = True