Thank you very much.
I'll study sscce.
And i have figure out my problem by change my logic process,^_^.
发件人: Glyph
发送时间: 2014-04-01 16:56
收件人: Twisted general discussion
主题: Re: [Twisted-Python] Using cred, how to prevent the user repeat-login?
On Mar 31, 2014, at 6:45 PM, yangyouxiu
In my Client-Server Application,I do not want two user login with the same
login name.
For example, user1 logined with name "test1",then user2 try to login with
"test1" too, the login of user2 should be denied. At now, my code could not
achieve this goal,so what's the method.
Thanks all!
The f
Thank you very much.
I got it, I changed it to use a defer object, not deferredlist
From: exarkun
Date: 2014-03-05 23:00
To: Twisted general discussion
Subject: Re: [Twisted-Python] Using DeferredList, on the remote method get
parameter of None type?
On 02:35 pm, yangyou...@gmail.com wrote:
>
>
When developing server-client software, on the client i call the method
getTrafficDate, but on the server end, i got nio is
None(d2=d.addCallback(lambda object: object.callRemote("getNIOTrafficInfo",
node, nio)))
,so, what's the key point?
Thanks all!
--
Hi,all!
On call main method, it call self.getName() in A.py, as I use callback, I can
not get the return value correctly, I thought it's because the Asynchronous
attribute, how should i do?
B.py
main:
name=self.getName()
A.py
def getname():
def.callback(method1)
def.callback(method2)
def.call
Daniel Sank,
Thanks very much. ^_^
From: Daniel Sank
Date: 2013-11-25 15:30
To: Twisted general discussion
Subject: Re: [Twisted-Python] How to debug the client-server pyqt project using
twisted framework?
> But i have no idea about using trail in qt application testing.
Neither do I. As I said
?
Yangyouxiu,
I was recently trying to solve the same problem for my own project.
Twisted apparently has some built-in testing facilities:
http://twistedmatrix.com/documents/current/core/howto/trial.html
Does this help at all?
___
Twisted-Python mailing
Hi, all!
I'm developing an client-server pyqt application. Is there an easier way to
debug? Now, I can only run client and server, then click the button on the
client and watch responce of the server?
What's the method and what's the tool?
Thanks all.___
Thank you very much!
You are right. It should be 'r+' mode, ^_^
From: Daniel Sank
Date: 2013-11-20 14:59
To: Twisted general discussion
Subject: Re: [Twisted-Python] How to call remote server method to read a file
on the server machine useing perspective broker ?
Did you try reading the error m
Hi, all!
I'm trying to read a file on the server with pb, and got an error. Following is
my code, what's the problem?
***pb1server.py
#!/usr/bin/env python
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
from twisted.spread import pb
class Two(pb.Ref
Thanks for all the suggestions.
I will try your advices.
杨有秀
敬上
From: Daniel Sank
Date: 2013-11-18 01:01
To: Twisted general discussion
Subject: Re: [Twisted-Python] how to change an qt4 applicaion using twisted?
Yangyouxiu,
I can definitely help you with this as I've recently written a
有秀
敬上
From: Laurens Van Houtven
Date: 2013-11-17 17:57
To: Twisted general discussion
Subject: Re: [Twisted-Python] how to change an qt4 applicaion using twisted?
Hi yangyouxiu,
Like Twisted, Qt (and almost all GUI toolkits) work on a single thread, evented
mechanism, with an event loop at its
Hi,all!
I have to change an QT application to client-server model, and i found twisted
and qt4 reactor. But i don't know where to start? how should i do to split the
qt application? what's the step. as for the server, what should i
initialize?
thanks all.
13 matches
Mail list logo