pynetdicom.transport.RequestHandler¶
- class pynetdicom.transport.RequestHandler(request, client_address, server)¶
Connection request handler for the
AssociationServer
.New in version 1.2.
- client_address¶
The
(host, port)
of the remote.- Type
2-tuple
- request¶
The (unaccepted) client socket.
- Type
socket.socket
- server¶
The server that received the connection request.
- __init__(request, client_address, server)¶
Methods
__init__
(request, client_address, server)finish
()handle
()Handle an association request.
setup
()Attributes
Return the server’s parent AE.
Return a 2-tuple of the local server’s
(host, port)
address.Return a 2-tuple of the remote client’s
(host, port)
address.- property ae: ApplicationEntity¶
Return the server’s parent AE.
- handle() None ¶
Handle an association request.
Creates a new Association acceptor instance and configures it.
Sets the Association’s socket to the request’s socket.
Starts the Association reactor.
- property local: Tuple[str, int]¶
Return a 2-tuple of the local server’s
(host, port)
address.
- property remote: Tuple[str, int]¶
Return a 2-tuple of the remote client’s
(host, port)
address.