pynetdicom.transport.T_CONNECT¶
-
class
pynetdicom.transport.
T_CONNECT
(request: pynetdicom.pdu_primitives.A_ASSOCIATE)¶ A TRANSPORT CONNECTION primitive
New in version 2.0.
-
request
¶ The A-ASSOCIATE (request) primitive that generated the TRANSPORT CONNECTION primitive.
-
__init__
(request: pynetdicom.pdu_primitives.A_ASSOCIATE) → None¶ Create a new TRANSPORT CONNECTION primitive.
- Parameters
request (pynetdicom.pdu_primitives.A_ASSOCIATE) – The A-ASSOCIATE (request) primitive to use when making a connection with a peer.
Methods
__init__
(request)Create a new TRANSPORT CONNECTION primitive.
Attributes
Return the peer’s
(str: IP address, int: port)
.Return the result of the connection attempt as
str
.-
property
address
¶ Return the peer’s
(str: IP address, int: port)
.
-
property
result
¶ Return the result of the connection attempt as
str
.- Parameters
str – The result of the connection attempt,
"Evt2"
if the connection succeeded,"Evt17"
if it failed.- Returns
The result of the connection attempt,
"Evt2"
if the connection succeeded,"Evt17"
if it failed.- Return type
str
-