MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / connection_close_handler

Method connection_close_handler

dshell/core.py:798–808  ·  view source on GitHub ↗

A placeholder. Plugins will be able to overwrite this to perform custom activites on a TCP connection when it is cleanly closed with RST or FIN. Args: conn: Connection object

(self, conn: "Connection")

Source from the content-addressed store, hash-verified

796 return conn
797
798 def connection_close_handler(self, conn: "Connection"):
799 """
800 A placeholder.
801
802 Plugins will be able to overwrite this to perform custom activites on
803 a TCP connection when it is cleanly closed with RST or FIN.
804
805 Args:
806 conn: Connection object
807 """
808 return
809
810
811class Packet(object):

Callers 1

_handle_connectionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected