The Assimilation Project  based on Assimilation version 1.1.7.1474836767
cma.checksumdiscovery.TCPDiscoveryChecksumGenerator Class Reference
Inheritance diagram for cma.checksumdiscovery.TCPDiscoveryChecksumGenerator:
Collaboration diagram for cma.checksumdiscovery.TCPDiscoveryChecksumGenerator:

Public Member Functions

def processpkt (self, drone, srcaddr, jsonobj, discoverychanged)
 
def processtcpdiscoverypkt (self, drone, unused_srcaddr, jsonobj)
 
def processchecksumpkt (self, drone, unused_srcaddr, jsonobj)
 
def compare_checksums (self, drone, oldobj, newobj)
 

Static Public Attributes

 prio = DiscoveryListener.PRI_OPTION
 
tuple wantedpackets = ('tcpdiscovery', 'checksum')
 

Detailed Description

Definition at line 53 of file checksumdiscovery.py.

Member Function Documentation

def cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.compare_checksums (   self,
  drone,
  oldobj,
  newobj 
)

Definition at line 125 of file checksumdiscovery.py.

Referenced by cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.processchecksumpkt().

Here is the caller graph for this function:

def cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.processchecksumpkt (   self,
  drone,
  unused_srcaddr,
  jsonobj 
)
Process updated checksums. Note that our drone-owned-JSON is already
updated. This is a mistake. We should update attributes at the end
of a transaction.  I wonder if this is in fact the case with the new
storage method for JSON string attributes.

Definition at line 109 of file checksumdiscovery.py.

References cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.compare_checksums().

Referenced by cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.processpkt().

Here is the call graph for this function:

Here is the caller graph for this function:

def cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.processpkt (   self,
  drone,
  srcaddr,
  jsonobj,
  discoverychanged 
)
Inform interested rule objects about this change

Definition at line 58 of file checksumdiscovery.py.

References cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.processchecksumpkt(), and cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.processtcpdiscoverypkt().

Here is the call graph for this function:

Field Documentation

cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.prio = DiscoveryListener.PRI_OPTION
static
tuple cma.checksumdiscovery.TCPDiscoveryChecksumGenerator.wantedpackets = ('tcpdiscovery', 'checksum')
static

The documentation for this class was generated from the following file: