Skip to content

Commit 261a7d8

Browse files
committed
feat:register PipeProtocol
1 parent 31fd0cd commit 261a7d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

protocols/protocol_factory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from protocols.cloud.cloud_protocol import CloudProtocol
55
from protocols.file_protocol.file_protocol import FileProtocol
66
from protocols.memory_protocol import MemoryProtocol
7+
from protocols.pipe_protocol.pipe_protocol import PipeProtocol
78
from protocols.protocol import Protocol
89
from common.exceptions import SmartInspectError
910
from protocols.tcp_protocol import TcpProtocol
@@ -18,6 +19,7 @@ class ProtocolFactory:
1819
"file": FileProtocol,
1920
"text": TextProtocol,
2021
"mem": MemoryProtocol,
22+
"pipe": PipeProtocol,
2123
}
2224
__PROTOCOL_NOT_FOUND = "The requested protocol is unknown"
2325
__lock = threading.Lock()

0 commit comments

Comments
 (0)