Class AAssociateRQ
A-ASSOCIATE-RQ
Inheritance
System.Object
AAssociateRQ
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FellowOakDicom.Network
Assembly: fo-dicom.core.dll
Syntax
public class AAssociateRQ : PDU
Constructors
AAssociateRQ(DicomAssociation, IMemoryProvider)
Initializes new A-ASSOCIATE-RQ
Declaration
public AAssociateRQ(DicomAssociation assoc, IMemoryProvider memoryProvider)
Parameters
Type | Name | Description |
---|---|---|
DicomAssociation | assoc | Association parameters |
IMemoryProvider | memoryProvider | The memory provider that will be used to allocate buffers |
Methods
Read(RawPDU)
Reads A-ASSOCIATE-RQ from PDU buffer
Declaration
public void Read(RawPDU raw)
Parameters
Type | Name | Description |
---|---|---|
RawPDU | raw | PDU buffer |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
WriteAsync(Stream, CancellationToken)
Writes A-ASSOCIATE-RQ to the provided stream
Declaration
public async Task WriteAsync(Stream stream, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream to write the PDU to |
System.Threading.CancellationToken | cancellationToken | The token that cancels the write operation |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A Task that represents the asynchronous operation |
Events
HandlePDUBytes
Event to handle unsupported PDU bytes.
Declaration
public event PDUBytesHandler HandlePDUBytes
Event Type
Type | Description |
---|---|
PDUBytesHandler |