New issue 6 by caente: MUX proposal
http://code.google.com/p/iso8583py/issues/detail?id=6
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
Attachments:
pyMUX.py 6.3 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings