Table of Contents

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 DicomAssociation

Association parameters

memoryProvider IMemoryProvider

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

PDU buffer

ToString()

public override string ToString()

Returns

string

WriteAsync(Stream, CancellationToken)

Writes A-ASSOCIATE-RQ 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

Events

HandlePDUBytes

Event to handle unsupported PDU bytes.

public event PDUBytesHandler HandlePDUBytes

Event Type

PDUBytesHandler