MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / resetCB

Method resetCB

pager_lib/smb/base.py:1383–1388  ·  view source on GitHub ↗
(reset_message, **kwargs)

Source from the content-addressed store, hash-verified

1381 self._pushToArray(messages_history, m)
1382
1383 def resetCB(reset_message, **kwargs):
1384 self._pushToArray(messages_history, reset_message)
1385 if reset_message.status == 0:
1386 closeFid(kwargs['tid'], kwargs['fid'], status = 0)
1387 else:
1388 closeFid(kwargs['tid'], kwargs['fid'], status = reset_message.status)
1389
1390 def closeFid(tid, fid, status = None):
1391 m = SMB2Message(SMB2CloseRequest(fid))

Callers

nothing calls this directly

Calls 1

_pushToArrayMethod · 0.95

Tested by

no test coverage detected