Writes parsed OSDP packets to a human-readable text file.
More...
Writes parsed OSDP packets to a human-readable text file.
Definition at line 9 of file ParsedTextWriter.cs.
◆ ParsedTextWriter() [1/2]
| OSDP.Net.Tracing.ParsedTextWriter.ParsedTextWriter |
( |
string | outputPath, |
|
|
byte[] | securityKey = null ) |
|
inline |
Creates a new ParsedTextWriter with the default formatter.
- Parameters
-
| outputPath | Path to the output text file. |
| securityKey | Optional security key for decrypting secure channel messages. |
Definition at line 21 of file ParsedTextWriter.cs.
◆ ParsedTextWriter() [2/2]
| OSDP.Net.Tracing.ParsedTextWriter.ParsedTextWriter |
( |
string | outputPath, |
|
|
byte[] | securityKey, |
|
|
IPacketTextFormatter | formatter ) |
|
inline |
Creates a new ParsedTextWriter with a custom formatter.
- Parameters
-
| outputPath | Path to the output text file. |
| securityKey | Optional security key for decrypting secure channel messages. |
| formatter | The formatter to use for packet output. |
Definition at line 32 of file ParsedTextWriter.cs.
◆ Dispose()
| void OSDP.Net.Tracing.ParsedTextWriter.Dispose |
( |
| ) |
|
|
inline |
◆ WritePacket()
| void OSDP.Net.Tracing.ParsedTextWriter.WritePacket |
( |
byte[] | packetData, |
|
|
DateTime | timestamp ) |
|
inline |
Writes a packet to the output file.
- Parameters
-
| packetData | The raw packet bytes. |
| timestamp | The timestamp when the packet was captured. |
Definition at line 48 of file ParsedTextWriter.cs.
The documentation for this class was generated from the following file: