On 11:00 pm, devnetw...@gmail.com wrote:
>Thank you for your response.
>
>Probably that works and also itamar's approach seems right.
>
>If connectionLost method is being called every disconnection (no
>matter what reason is) my unregisterBySocket method handles that
>situation already. I mean It
Thank you for your response.
Probably that works and also itamar's approach seems right.
If connectionLost method is being called every disconnection (no
matter what reason is) my unregisterBySocket method handles that
situation already. I mean It s not possible to have disconnected
socket in my
On Mon, Dec 6, 2010 at 7:41 PM, Umut Aydin wrote:
> Hello again
>
> I couldn't get any answer to my question and I think I couldn't point
> my problem clearly.
>
> https://github.com/naimon/Jobbar/blob/master/src/lib/server.py
>
> On the line #130 I need to check if the socket is still connected.
On Mon, 2010-12-06 at 16:11 +0200, Umut Aydin wrote:
> Hello again
>
> I couldn't get any answer to my question and I think I couldn't point
> my problem clearly.
>
> https://github.com/naimon/Jobbar/blob/master/src/lib/server.py
>
> On the line #130 I need to check if the socket is still connec
Hello again
I couldn't get any answer to my question and I think I couldn't point
my problem clearly.
https://github.com/naimon/Jobbar/blob/master/src/lib/server.py
On the line #130 I need to check if the socket is still connected.
That worker variable is a copy of self.transport actually. I ha
I was able to modify the logstring for the TCP query by following a
similar approach to what I did to the UDP logger:
def logPrefix(self):
return self.connection.transport.protocol.__class__.__name__ +
", " + str(self.id)
def startClient(self):
self.f = self.factory(self,
Hi,
I have an application which logs activity on a number of servers by
two methods:
1. TCP-based queries (app is client)
2. UDP-based logging (app is server)
Each server that is being logged is represented by an instance of a
server class. TCP-queries are performed by each instance at set
interv