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
assocDicomAssociationAssociation parameters
memoryProviderIMemoryProviderThe 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
rawRawPDUPDU buffer
ToString()
public override string ToString()
Returns
WriteAsync(Stream, CancellationToken)
Writes A-ASSOCIATE-RQ to the provided stream
public Task<uint> WriteAsync(Stream stream, CancellationToken cancellationToken)
Parameters
streamStreamThe stream to write the PDU to
cancellationTokenCancellationTokenThe token that cancels the write operation
Returns
Events
HandlePDUBytes
Event to handle unsupported PDU bytes.
public event PDUBytesHandler HandlePDUBytes