Class AAssociateAC
A-ASSOCIATE-AC
Inheritance
System.Object
AAssociateAC
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 AAssociateAC : PDU
Constructors
AAssociateAC(DicomAssociation, IMemoryProvider)
Initializes new A-ASSOCIATE-AC
Declaration
public AAssociateAC(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-AC 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-AC 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 |