The Assimilation Project  based on Assimilation version 1.1.2.1454725746
cma.AssimCclasses.pyNetIO Class Reference
Inheritance diagram for cma.AssimCclasses.pyNetIO:
Collaboration diagram for cma.AssimCclasses.pyNetIO:

Public Member Functions

def __init__
 
def setblockio (self, mode)
 
def fileno (self)
 
def bindaddr
 
def boundaddr (self)
 
def getrcvbufsize (self)
 
def setrcvbufsize (self, bufsize)
 
def getsendbufsize (self)
 
def setsendbufsize (self, bufsize)
 
def mcastjoin (self, addr)
 
def getmaxpktsize (self)
 
def setmaxpktsize (self, size)
 
def compressframe (self)
 
def signframe (self)
 
def connstate
 
def connactive
 
def sendframesets (self, destaddr, framesetlist)
 
def sendreliablefs
 
def ackmessage (self, destaddr, frameset)
 
def closeconn (self, qid, destaddr)
 
def addalias (self, fromaddr, toaddr)
 
def recvframesets (self)
 
- Public Member Functions inherited from cma.AssimCclasses.pyAssimObj
def __init__
 
def cclassname (self)
 
def __str__ (self)
 
def __del__ (self)
 
def refcount (self)
 

Static Public Member Functions

def is_dual_ipv4v6_stack ()
 

Data Fields

 config
 

Static Public Attributes

int CONN_NONE = 0
 
int CONN_INIT = 1
 
int CONN_UP = 2
 
int CONN_SHUT1 = 3
 
int CONN_SHUT2 = 4
 
int CONN_SHUT3 = 5
 

Detailed Description

Definition at line 2077 of file AssimCclasses.py.

Constructor & Destructor Documentation

def cma.AssimCclasses.pyNetIO.__init__ (   self,
  configobj,
  packetdecoder,
  Cstruct = None 
)

Definition at line 2086 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct, and netio_new().

Here is the call graph for this function:

Member Function Documentation

def cma.AssimCclasses.pyNetIO.ackmessage (   self,
  destaddr,
  frameset 
)

Definition at line 2239 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.addalias (   self,
  fromaddr,
  toaddr 
)

Definition at line 2255 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.bindaddr (   self,
  addr,
  silent = False 
)

Definition at line 2115 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.boundaddr (   self)

Definition at line 2122 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct, and cma.AssimCclasses.CCref().

Here is the call graph for this function:

def cma.AssimCclasses.pyNetIO.closeconn (   self,
  qid,
  destaddr 
)

Definition at line 2247 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.compressframe (   self)

Definition at line 2182 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.connactive (   self,
  peeraddr,
  qid = DEFAULT_FSP_QID 
)
Return TRUE if this connection is active.
That is, if it's established and not in shutdown.
Note that the presence of timeouts doesn't make a connection inactive.
We can time out for days and still think the connection is active.

Definition at line 2202 of file AssimCclasses.py.

References _FsProtocol.connstate, and cma.AssimCclasses.pyNetIO.connstate().

Here is the call graph for this function:

def cma.AssimCclasses.pyNetIO.connstate (   self,
  peeraddr,
  qid = DEFAULT_FSP_QID 
)

Definition at line 2197 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Referenced by cma.AssimCclasses.pyNetIO.connactive().

Here is the caller graph for this function:

def cma.AssimCclasses.pyNetIO.fileno (   self)

Definition at line 2108 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getmaxpktsize (   self)

Definition at line 2168 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getrcvbufsize (   self)

Definition at line 2133 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getsendbufsize (   self)

Definition at line 2147 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.is_dual_ipv4v6_stack ( )
static

Definition at line 2287 of file AssimCclasses.py.

References netio_is_dual_ipv4v6_stack().

Here is the call graph for this function:

def cma.AssimCclasses.pyNetIO.mcastjoin (   self,
  addr 
)

Definition at line 2161 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.recvframesets (   self)
Receive a collection of framesets read from this pyNetIO - all from the same Address.
 @return The return value is a tuple (address, framesetlist). 

Definition at line 2263 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct, and netaddr_ipv4_new().

Here is the call graph for this function:

def cma.AssimCclasses.pyNetIO.sendframesets (   self,
  destaddr,
  framesetlist 
)

Definition at line 2211 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Referenced by cma.tests.cma_test.TestIO.sendreliablefs().

Here is the caller graph for this function:

def cma.AssimCclasses.pyNetIO.sendreliablefs (   self,
  destaddr,
  framesetlist,
  qid = DEFAULT_FSP_QID 
)

Definition at line 2225 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.setblockio (   self,
  mode 
)

Definition at line 2101 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.setmaxpktsize (   self,
  size 
)

Definition at line 2175 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.setrcvbufsize (   self,
  bufsize 
)

Definition at line 2140 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.setsendbufsize (   self,
  bufsize 
)

Definition at line 2154 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.signframe (   self)

Definition at line 2190 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Field Documentation

int cma.AssimCclasses.pyNetIO.CONN_INIT = 1
static

Definition at line 2080 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_NONE = 0
static

Definition at line 2079 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT1 = 3
static

Definition at line 2082 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT2 = 4
static

Definition at line 2083 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT3 = 5
static

Definition at line 2084 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_UP = 2
static

Definition at line 2081 of file AssimCclasses.py.


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