예제 #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")