[Twisted-Python] problem understand how to use a new created protocol

Stefano Canepa sc at linux.it
Wed Jun 8 06:03:58 EDT 2005

Dear all,
	I have a problem in understanding how to use the little protocol I have
written. First of all a little explanation of the protocol that is name
HL7. HL7 is based on simple messages that can be sent using serival
lines or network. To use HL7 over a network the application needs to use
HL7 LLP (Lower Level Protocol). LLP specification states that every
communicating part needs to have a client and a server. The server
(named accepting module) needs to receive a messagge and reply with an
ACK or NACK based on the syntax of the message. The client (named
initiating module) sends message and waits for ACK or NACK or timeouts.

Following the howto and reading all documents I was able to find on the
web, I coded the HL7 LLP accepting and initiating modules. 
Now my problem is: how can I pass the message to the application using
my LLP protocol? 
For example: the accepting module protocol is based on
basic.lineReceiver, it process the line and sends the appropriate reply.
Do I need to write a class in the application derived from my
HL7LLPAcceptingProtocol that process the message? 

I am really sorry to bother all of you with this sort of questions that
should sound stupid to you but I am really a newbie to twisted and need
some help.


Stefano Canepa aka sc: sc at linux.it  http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza.
                                                              (Larry Wall)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20050608/6793e1ac/attachment.pgp 

More information about the Twisted-Python mailing list