The Assimilation Project  based on Assimilation version 1.1.7.1474836767
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

 ipaddr
 
 port
 
 protocol
 
 ipport
 
- Data Fields inherited from cma.graphnodes.GraphNode
 domain
 
 nodetype
 
 time_create_iso8601
 
 time_create_ms
 

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 graphnodes.py.

Constructor & Destructor Documentation

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

Definition at line 393 of file graphnodes.py.

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

Member Function Documentation

def cma.graphnodes.IPtcpportNode.__meta_keyattrs__ ( )
static

Definition at line 422 of file graphnodes.py.

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 graphnodes.py.

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

cma.graphnodes.IPtcpportNode.ipaddr

Definition at line 416 of file graphnodes.py.

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

cma.graphnodes.IPtcpportNode.ipport

Definition at line 419 of file graphnodes.py.

cma.graphnodes.IPtcpportNode.port

Definition at line 417 of file graphnodes.py.

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

cma.graphnodes.IPtcpportNode.protocol

Definition at line 418 of file graphnodes.py.

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


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