SF.net SVN: fclient: [207] trunk/sandbox/fcp/fcp2_0_consts.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <ju...@us...> - 2008-02-12 09:47:28
|
Revision: 207
http://fclient.svn.sourceforge.net/fclient/?rev=207&view=rev
Author: jurner
Date: 2008-02-12 01:47:25 -0800 (Tue, 12 Feb 2008)
Log Message:
-----------
added new const to DisconnectReason to indicate regular client close
Modified Paths:
--------------
trunk/sandbox/fcp/fcp2_0_consts.py
Modified: trunk/sandbox/fcp/fcp2_0_consts.py
===================================================================
--- trunk/sandbox/fcp/fcp2_0_consts.py 2008-02-11 10:57:05 UTC (rev 206)
+++ trunk/sandbox/fcp/fcp2_0_consts.py 2008-02-12 09:47:25 UTC (rev 207)
@@ -173,12 +173,14 @@
class DisconnectReason(BaseBitFlags):
"""Reasons for client disconnect
+ @cvar Close: the clent has been closed
@cvar ConnectingFailed: connection could not be established
@cvar DuplicateClientName: another client opend a connection with the same connection name
@cvar Shutdown: regular shutdown of the connection
@cvar SocketDied: connection to the node died unexpectingly
@cvar VersionMissmatch: node or Fcp version did not match
"""
+ Close = 0x0
ConnectingFailed = 0x1
DuplicateClientName = 0x2
Shutdown = 0x4
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|