Class AAssociateRQ
- Namespace
- FellowOakDicom.Network
- Assembly
- fo-dicom.core.dll
A-ASSOCIATE-RQ
public class AAssociateRQ : PDU
- Inheritance
-
AAssociateRQ
- Implements
- Inherited Members
- Extension Methods
Constructors
AAssociateRQ(DicomAssociation, IMemoryProvider)
Initializes new A-ASSOCIATE-RQ
public AAssociateRQ(DicomAssociation assoc, IMemoryProvider memoryProvider)
Parameters
assoc
DicomAssociationAssociation parameters
memoryProvider
IMemoryProviderThe memory provider that will be used to allocate buffers
Methods
Read(RawPDU)
Reads A-ASSOCIATE-RQ from PDU buffer
public void Read(RawPDU raw)
Parameters
raw
RawPDUPDU buffer
ToString()
public override string ToString()
Returns
WriteAsync(Stream, CancellationToken)
Writes A-ASSOCIATE-RQ to the provided stream
public Task WriteAsync(Stream stream, CancellationToken cancellationToken)
Parameters
stream
StreamThe stream to write the PDU to
cancellationToken
CancellationTokenThe token that cancels the write operation
Returns
- Task
A Task that represents the asynchronous operation
Events
HandlePDUBytes
Event to handle unsupported PDU bytes.
public event PDUBytesHandler HandlePDUBytes