Table of Contents

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 DicomAssociation

Association parameters

memoryProvider IMemoryProvider

The 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 RawPDU

PDU buffer

ToString()

public override string ToString()

Returns

string

WriteAsync(Stream, CancellationToken)

Writes A-ASSOCIATE-AC to the provided stream

public Task WriteAsync(Stream stream, CancellationToken cancellationToken)

Parameters

stream Stream

The stream to write the PDU to

cancellationToken CancellationToken

The token that cancels the write operation

Returns

Task

A Task that represents the asynchronous operation