Refactor Transport from Protocol to ABC for explicit interface implementation
This commit is contained in:
@@ -3,11 +3,13 @@
|
||||
import socket
|
||||
from typing import Any
|
||||
|
||||
from py_dvt_ate.instruments.transport.base import Transport
|
||||
|
||||
class TCPTransport:
|
||||
|
||||
class TCPTransport(Transport):
|
||||
"""TCP socket transport implementation.
|
||||
|
||||
Implements the Transport protocol for communicating with SCPI
|
||||
Implements the Transport interface for communicating with SCPI
|
||||
instruments over TCP/IP using newline-terminated messages.
|
||||
|
||||
Attributes:
|
||||
|
||||
Reference in New Issue
Block a user