ZIO
Python and C++ interface to ZeroMQ and Zyre
Public Member Functions | Public Attributes | List of all members
test_ugly.SimpleServer Class Reference

Public Member Functions

def __init__ (self, port, origin=42)
 
def do_bot (self)
 
def send_pay (self)
 
def recv_pay (self, timeout=0)
 
def send_dat (self)
 
def recv_dat (self, timeout=-1)
 
def eot (self, timeout=0)
 

Public Attributes

 port
 
 origin
 
 credit
 
 direction
 
 count
 
 client_id
 
 poller
 
 is_sender
 

Detailed Description

Definition at line 19 of file test_ugly.py.

Constructor & Destructor Documentation

◆ __init__()

def test_ugly.SimpleServer.__init__ (   self,
  port,
  origin = 42 
)

Definition at line 20 of file test_ugly.py.

Member Function Documentation

◆ do_bot()

def test_ugly.SimpleServer.do_bot (   self)

Definition at line 30 of file test_ugly.py.

◆ eot()

def test_ugly.SimpleServer.eot (   self,
  timeout = 0 
)

Definition at line 133 of file test_ugly.py.

◆ recv_dat()

def test_ugly.SimpleServer.recv_dat (   self,
  timeout = -1 
)

Definition at line 113 of file test_ugly.py.

◆ recv_pay()

def test_ugly.SimpleServer.recv_pay (   self,
  timeout = 0 
)

Definition at line 81 of file test_ugly.py.

◆ send_dat()

def test_ugly.SimpleServer.send_dat (   self)

Definition at line 99 of file test_ugly.py.

◆ send_pay()

def test_ugly.SimpleServer.send_pay (   self)

Definition at line 67 of file test_ugly.py.

Member Data Documentation

◆ client_id

test_ugly.SimpleServer.client_id

Definition at line 26 of file test_ugly.py.

◆ count

test_ugly.SimpleServer.count

Definition at line 25 of file test_ugly.py.

◆ credit

test_ugly.SimpleServer.credit

Definition at line 23 of file test_ugly.py.

◆ direction

test_ugly.SimpleServer.direction

Definition at line 24 of file test_ugly.py.

◆ is_sender

test_ugly.SimpleServer.is_sender

Definition at line 48 of file test_ugly.py.

◆ origin

test_ugly.SimpleServer.origin

Definition at line 22 of file test_ugly.py.

◆ poller

test_ugly.SimpleServer.poller

Definition at line 27 of file test_ugly.py.

◆ port

test_ugly.SimpleServer.port

Definition at line 21 of file test_ugly.py.


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