Show / Hide Table of Contents
View Source

Class Association

Inheritance
System.Object
Association
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:EvilDICOM.Network
Assembly:EvilDICOM.dll
Syntax
public class Association

Constructors

View Source

Association(DICOMServiceClass, TcpClient)

Declaration
public Association(DICOMServiceClass serviceClass, TcpClient client)
Parameters
Type Name Description
DICOMServiceClass serviceClass
System.Net.Sockets.TcpClient client

Properties

View Source

AeTitle

The foreign AeTitle

Declaration
public string AeTitle { get; set; }
Property Value
Type Description
System.String
View Source

IdleClock

Declaration
public Stopwatch IdleClock { get; }
Property Value
Type Description
System.Diagnostics.Stopwatch
View Source

IpAddress

The ip address of the foreign service class

Declaration
public string IpAddress { get; set; }
Property Value
Type Description
System.String
View Source

IsClientConnected

Declaration
public bool IsClientConnected { get; }
Property Value
Type Description
System.Boolean
View Source

LastActive

The last time of communication of this association

Declaration
public DateTime LastActive { get; set; }
Property Value
Type Description
System.DateTime
View Source

Logger

Declaration
public ILogger Logger { get; }
Property Value
Type Description
Microsoft.Extensions.Logging.ILogger
View Source

OutboundMessages

Declaration
public ConcurrentQueue<AbstractDIMSEBase> OutboundMessages { get; set; }
Property Value
Type Description
System.Collections.Concurrent.ConcurrentQueue<AbstractDIMSEBase>
View Source

PDataProcessor

Declaration
public PDataProcessor PDataProcessor { get; set; }
Property Value
Type Description
PDataProcessor
View Source

PDUProcessor

Declaration
public PDUProcessor PDUProcessor { get; set; }
Property Value
Type Description
PDUProcessor
View Source

Port

The port of the foreign service class

Declaration
public int Port { get; set; }
Property Value
Type Description
System.Int32
View Source

PresentationContexts

The agreed upon presentation context of the association

Declaration
public List<PresentationContext> PresentationContexts { get; set; }
Property Value
Type Description
System.Collections.Generic.List<PresentationContext>
View Source

Reader

Declaration
public NetworkBinaryReader Reader { get; }
Property Value
Type Description
NetworkBinaryReader
View Source

ServiceClass

Declaration
public DICOMServiceClass ServiceClass { get; }
Property Value
Type Description
DICOMServiceClass
View Source

State

Declaration
public NetworkState State { get; set; }
Property Value
Type Description
NetworkState
View Source

Stream

Declaration
public BufferedStream Stream { get; }
Property Value
Type Description
System.IO.BufferedStream
View Source

UserInfo

The user info containing maximum PDataTF packet size

Declaration
public UserInfo UserInfo { get; set; }
Property Value
Type Description
UserInfo

Methods

View Source

Cancel(CCancel)

Declaration
public void Cancel(CCancel cancel)
Parameters
Type Name Description
CCancel cancel
View Source

Listen(Nullable<TimeSpan>)

Declaration
public void Listen(TimeSpan? maxWaitTime = null)
Parameters
Type Name Description
System.Nullable<System.TimeSpan> maxWaitTime
View Source

Process(IMessage)

Declaration
public void Process(IMessage message)
Parameters
Type Name Description
IMessage message
View Source

Read(Double)

Declaration
public IMessage Read(double msToWait)
Parameters
Type Name Description
System.Double msToWait
Returns
Type Description
IMessage
View Source

Release()

Declaration
public void Release()
View Source

RequestAbort()

Declaration
public void RequestAbort()
View Source

SendMessage(IPDU)

Declaration
public void SendMessage(IPDU message)
Parameters
Type Name Description
IPDU message
View Source

SendMessage(Byte[])

Declaration
public void SendMessage(byte[] message)
Parameters
Type Name Description
System.Byte[] message
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Extension Methods

AssociationExtensions.GetResponseContexts(IEnumerable<PresentationContext>)
AssociationExtensions.SetFinalContexts(Accept)
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX