The Assimilation Project  based on Assimilation version
cma.graphnodes.IPtcpportNode Class Reference
Inheritance diagram for cma.graphnodes.IPtcpportNode:
Collaboration diagram for cma.graphnodes.IPtcpportNode:

Public Member Functions

def __init__ (self, domain, ipaddr, port=None, protocol='tcp')
def format_ipport (self)
- Public Member Functions inherited from cma.graphnodes.GraphNode
def __init__ (self, domain, time_create_ms=None, time_create_iso8601=None)
def __meta_labels__ (cls)
def post_db_init (self)
def update_attributes (self, other)
def __str__ (self)
def get (self, attrstring, valueifnotfound=None)
def JSON (self, includemap=None, excludemap=None)

Static Public Member Functions

def __meta_keyattrs__ ()
- Static Public Member Functions inherited from cma.graphnodes.GraphNode
def factory (kwargs)
def clean_graphnodes ()
def __meta_keyattrs__ ()
def initclasstypeobj (store, nodetype)

Data Fields

- Data Fields inherited from cma.graphnodes.GraphNode

Additional Inherited Members

- Static Public Attributes inherited from cma.graphnodes.GraphNode
 REESC = re.compile(r'\\')
 REQUOTE = re.compile(r'"')
dictionary classmap = {}

Detailed Description

Definition at line 391 of file

Constructor & Destructor Documentation

def cma.graphnodes.IPtcpportNode.__init__ (   self,
  port = None,
  protocol = 'tcp' 

Definition at line 393 of file

References cma.graphnodes.IPtcpportNode._repr, and cma.drawwithdot.type.

Member Function Documentation

def cma.graphnodes.IPtcpportNode.__meta_keyattrs__ ( )

Definition at line 422 of file

def cma.graphnodes.IPtcpportNode.format_ipport (   self)
Format the ip and port into our key field
Note that we make the port the most significant part of the key - which
should allow some more interesting queries.

Definition at line 426 of file

References cma.graphnodes.IPaddrNode.ipaddr, cma.graphnodes.IPtcpportNode.ipaddr, cma.droneinfo.Drone.port, cma.graphnodes.IPtcpportNode.port, cma.AssimCclasses.pyIpPortFrame.port, and cma.graphnodes.IPtcpportNode.protocol.

Field Documentation


Definition at line 416 of file

Referenced by cma.graphnodes.IPtcpportNode.format_ipport().


Definition at line 419 of file


Definition at line 417 of file

Referenced by cma.graphnodes.IPtcpportNode.format_ipport().


Definition at line 418 of file

Referenced by cma.graphnodes.IPtcpportNode.format_ipport().

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