pynetdicom.transport.RequestHandler¶
-
class
pynetdicom.transport.RequestHandler(request, client_address, server)[source]¶ 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)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(request, client_address, server)Initialize self.
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¶ Return the server’s parent AE.
-
handle()[source]¶ 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¶ Return a 2-tuple of the local server’s
(host, port)address.
-
property
remote¶ Return a 2-tuple of the remote client’s
(host, port)address.
-