herikiri / iso8583py

Automatically exported from code.google.com/p/iso8583py
GNU General Public License v3.0
1 stars 1 forks source link

MUX proposal #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,as I promised yesterday, here is a module which contains the MUX class.

Basically is a Thread with the method MUX.request(isoMsg,timeout=None) 

The usage is the following:

mux = MUX(server_address,server_port,default_timeout)
mux.start()
isoMsg = createMsg()
isoResp = mux.request(isoMsg) #This method queue the message and waits for 
                              #the response for default_timeout seconds,
                              #if no response is received, it returns None

Original issue reported on code.google.com by cae...@gmail.com on 24 Feb 2010 at 4:10

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
This is very interesting.
We can add it in the new release!
BEst regards

Original comment by igo...@gmail.com on 11 May 2010 at 5:20