The Assimilation Project  based on Assimilation version 0.5.1440692045
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cma.AssimCclasses.pyNetIO Class Reference
Inheritance diagram for cma.AssimCclasses.pyNetIO:
Collaboration diagram for cma.AssimCclasses.pyNetIO:

Public Member Functions

def __init__
 
def setblockio
 
def fileno
 
def bindaddr
 
def boundaddr
 
def getrcvbufsize
 
def setrcvbufsize
 
def getsendbufsize
 
def setsendbufsize
 
def mcastjoin
 
def getmaxpktsize
 
def setmaxpktsize
 
def compressframe
 
def signframe
 
def connstate
 
def connactive
 
def sendframesets
 
def sendreliablefs
 
def ackmessage
 
def closeconn
 
def addalias
 
def recvframesets
 
- Public Member Functions inherited from cma.AssimCclasses.pyAssimObj
def __init__
 
def cclassname
 
def __str__
 
def __del__
 
def refcount
 

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 1881 of file AssimCclasses.py.

Constructor & Destructor Documentation

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

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

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2059 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1919 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.boundaddr (   self)

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

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.compressframe (   self)

Definition at line 1986 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 2006 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 2001 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 1912 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getmaxpktsize (   self)

Definition at line 1972 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getrcvbufsize (   self)

Definition at line 1937 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getsendbufsize (   self)

Definition at line 1951 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.is_dual_ipv4v6_stack ( )
static

Definition at line 2091 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 1965 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 2067 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 2015 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 2029 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1905 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1979 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1944 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1958 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.signframe (   self)

Definition at line 1994 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Field Documentation

int cma.AssimCclasses.pyNetIO.CONN_INIT = 1
static

Definition at line 1884 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_NONE = 0
static

Definition at line 1883 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT1 = 3
static

Definition at line 1886 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT2 = 4
static

Definition at line 1887 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT3 = 5
static

Definition at line 1888 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_UP = 2
static

Definition at line 1885 of file AssimCclasses.py.


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