Class AAssociateAC
- Namespace
- FellowOakDicom.Network
- Assembly
- fo-dicom.core.dll
A-ASSOCIATE-AC
public class AAssociateAC : PDU
- Inheritance
-
AAssociateAC
- Implements
- Inherited Members
- Extension Methods
Constructors
AAssociateAC(DicomAssociation, IMemoryProvider)
Initializes new A-ASSOCIATE-AC
public AAssociateAC(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-AC from PDU buffer
public void Read(RawPDU raw)
Parameters
raw
RawPDUPDU buffer
ToString()
public override string ToString()
Returns
WriteAsync(Stream, CancellationToken)
Writes A-ASSOCIATE-AC 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