MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / updateName

Method updateName

src/Connection/Connection.py:94–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92 return socket.socket(socket.AF_INET, socket.SOCK_STREAM)
93
94 def updateName(self):
95 self.name = "Conn#%2s %-12s [%s]" % (self.id, self.ip, self.protocol)
96
97 def __str__(self):
98 return self.name

Callers 4

__init__Method · 0.95
setIpMethod · 0.95
messageLoopMethod · 0.95
setHandshakeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected