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

Constructor & Destructor Documentation

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

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

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 2058 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1918 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.boundaddr (   self)

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

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.compressframe (   self)

Definition at line 1985 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 2005 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 2000 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 1911 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getmaxpktsize (   self)

Definition at line 1971 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getrcvbufsize (   self)

Definition at line 1936 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.getsendbufsize (   self)

Definition at line 1950 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.is_dual_ipv4v6_stack ( )
static

Definition at line 2090 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 1964 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 2066 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 2014 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 2028 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1904 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1978 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1943 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

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

Definition at line 1957 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyNetIO.signframe (   self)

Definition at line 1993 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Field Documentation

int cma.AssimCclasses.pyNetIO.CONN_INIT = 1
static

Definition at line 1883 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_NONE = 0
static

Definition at line 1882 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT1 = 3
static

Definition at line 1885 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT2 = 4
static

Definition at line 1886 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_SHUT3 = 5
static

Definition at line 1887 of file AssimCclasses.py.

int cma.AssimCclasses.pyNetIO.CONN_UP = 2
static

Definition at line 1884 of file AssimCclasses.py.


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