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
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
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
View Source
PDataProcessor
Declaration
public PDataProcessor PDataProcessor { get; set; }
Property Value
View Source
PDUProcessor
Declaration
public PDUProcessor PDUProcessor { get; set; }
Property Value
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
View Source
Reader
Declaration
public NetworkBinaryReader Reader { get; }
Property Value
View Source
ServiceClass
Declaration
public DICOMServiceClass ServiceClass { get; }
Property Value
View Source
State
Declaration
public NetworkState State { get; set; }
Property Value
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
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
View Source
Read(Double)
Declaration
public IMessage Read(double msToWait)
Parameters
Type |
Name |
Description |
System.Double |
msToWait |
|
Returns
View Source
Release()
Declaration
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