[Twisted-Python] High Level Twisted Question [Multiple Protocol Usage]
I'm working with Twisted and getting my head around it but I still have some general paradigm questions. When using Twisted to create an application to run under twistd, is it possible to implement more than one protocol? For instance, If I write a server which uses PB to interface with its python client, can I then also check pop3 boxes from the same application / twistd process? Put another way: When incorporating functionality into a server app requiring multiple protocols (PB, SMTP, HTTP, etc.) what is the standard way of effecting this? Sorry for another newbie question and thanks for your time.
On 7/18/05, J French <hikenboots@gmail.com> wrote:
I'm working with Twisted and getting my head around it but I still have some general paradigm questions.
When using Twisted to create an application to run under twistd, is it possible to implement more than one protocol? For instance, If I write a server which uses PB to interface with its python client, can I then also check pop3 boxes from the same application / twistd process?
Put another way: When incorporating functionality into a server app requiring multiple protocols (PB, SMTP, HTTP, etc.) what is the standard way of effecting this?
Sorry for another newbie question and thanks for your time.
______________________________________________
yes you use a Service and you can implement as many concurrent protocol interfaces as you like -- If you don't know what you want, you probably need a nap.
On 7/18/05, *J French* <hikenboots@gmail.com
Put another way: When incorporating functionality into a server app requiring multiple protocols (PB, SMTP, HTTP, etc.) what is the standard way of effecting this?
jarrod roberson wrote:
yes you use a Service and you can implement as many concurrent protocol interfaces as you like
If you stay with the finger example, it'll get you there: http://twistedmatrix.com/projects/core/documentation/howto/tutorial/index.ht... good luck, Andy.
participants (3)
-
Andy Gayton -
J French -
jarrod roberson