示例#1
0
 def testConnectionLost(self):
     protocol = ModbusTcpProtocol()
     protocol.connectionLost("What ever reason")
示例#2
0
 def testTCPServerDisconnect(self):
     protocol = ModbusTcpProtocol()
     protocol.connectionLost('because of an error')
示例#3
0
 def testTCPServerDisconnect(self):
     protocol = ModbusTcpProtocol()
     protocol.connectionLost('because of an error')
示例#4
0
 def testConnectionLost(self):
     protocol = ModbusTcpProtocol()
     protocol.connectionLost("What ever reason")