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

Public Member Functions

def __init__ (self, configobj, packetdecoder, Cstruct=None)
 
def setblockio (self, mode)
 
def fileno (self)
 
def bindaddr (self, addr, silent=False)
 
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 (self, peeraddr, qid=DEFAULT_FSP_QID)
 
def connactive (self, peeraddr, qid=DEFAULT_FSP_QID)
 
def sendframesets (self, destaddr, framesetlist)
 
def sendreliablefs (self, destaddr, framesetlist, qid=DEFAULT_FSP_QID)
 
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__ (self, Cstruct=None)
 
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 2151 of file AssimCclasses.py.

Constructor & Destructor Documentation

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

Definition at line 2160 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 2313 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2329 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2189 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.boundaddr (   self)

Definition at line 2196 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 2321 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.compressframe (   self)

Definition at line 2256 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 2276 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 2271 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 2182 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getmaxpktsize (   self)

Definition at line 2242 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getrcvbufsize (   self)

Definition at line 2207 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getsendbufsize (   self)

Definition at line 2221 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.is_dual_ipv4v6_stack ( )
static

Definition at line 2361 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 2235 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 2337 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 2285 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Here is the caller graph for this function:

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

Definition at line 2299 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2175 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2249 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2214 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2228 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.signframe (   self)

Definition at line 2264 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Field Documentation

int cma.AssimCclasses.pyNetIO.CONN_INIT = 1
static

Definition at line 2154 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_NONE = 0
static

Definition at line 2153 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT1 = 3
static

Definition at line 2156 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT2 = 4
static

Definition at line 2157 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT3 = 5
static

Definition at line 2158 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_UP = 2
static

Definition at line 2155 of file AssimCclasses.py.


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