The Assimilation Project  based on Assimilation version 1.1.6.1462601511
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 2141 of file AssimCclasses.py.

Constructor & Destructor Documentation

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

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

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2319 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2179 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.boundaddr (   self)

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

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.compressframe (   self)

Definition at line 2246 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 2266 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 2261 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 2172 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getmaxpktsize (   self)

Definition at line 2232 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getrcvbufsize (   self)

Definition at line 2197 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getsendbufsize (   self)

Definition at line 2211 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.is_dual_ipv4v6_stack ( )
static

Definition at line 2351 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 2225 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 2327 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 2275 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 2289 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2165 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2239 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2204 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2218 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.signframe (   self)

Definition at line 2254 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Field Documentation

int cma.AssimCclasses.pyNetIO.CONN_INIT = 1
static

Definition at line 2144 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_NONE = 0
static

Definition at line 2143 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT1 = 3
static

Definition at line 2146 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT2 = 4
static

Definition at line 2147 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT3 = 5
static

Definition at line 2148 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_UP = 2
static

Definition at line 2145 of file AssimCclasses.py.


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