MCPcopy Create free account
hub / github.com/andreikop/python-ws-discovery / _parseAppSequence

Function _parseAppSequence

wsdiscovery/util.py:111–117  ·  view source on GitHub ↗
(dom, env)

Source from the content-addressed store, hash-verified

109
110
111def _parseAppSequence(dom, env):
112 nodes = dom.getElementsByTagNameNS(NS_DISCOVERY, "AppSequence")
113 if nodes:
114 appSeqNode = nodes[0]
115 env.setInstanceId(appSeqNode.getAttribute("InstanceId"))
116 env.setSequenceId(appSeqNode.getAttribute("SequenceId"))
117 env.setMessageNumber(appSeqNode.getAttribute("MessageNumber"))
118
119
120def _parseSpaceSeparatedList(node):

Callers 4

parseByeMessageFunction · 0.85
parseProbeMatchMessageFunction · 0.85
parseHelloMessageFunction · 0.85
parseResolveMatchMessageFunction · 0.85

Calls 3

setSequenceIdMethod · 0.80
setInstanceIdMethod · 0.45
setMessageNumberMethod · 0.45

Tested by

no test coverage detected