pynetdicom.transport.RequestHandler#
- class pynetdicom.transport.RequestHandler(request: socket | tuple[bytes, socket], client_address: Any, server: BaseServer)[source]#
 Connection request handler for the
AssociationServer.- client_address#
 The
(host, port)or(host, port, flowinfo, scope_id)of the remote.
- request#
 The (unaccepted) client socket.
- Type:
 
- server#
 The server that received the connection request.
- __init__(request: socket | tuple[bytes, socket], client_address: Any, server: BaseServer) None[source]#
 
Methods
Attributes
Return the server's parent AE.
Return the local server's address information.
Return the remote client's address information.
- property ae: ApplicationEntity#
 Return the server’s parent AE.
- handle() None[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: AddressInformation#
 Return the local server’s address information.
Changed in version 3.0: Now returns a
AddressInformationinstance.
- property remote: AddressInformation#
 Return the remote client’s address information.
Changed in version 3.0: Now returns a
AddressInformationinstance.