SF.net SVN: fclient: [124] trunk/sandbox/fcp/fcp2_0_consts.py
Status: Pre-Alpha
Brought to you by:
jurner
From: <ju...@us...> - 2008-02-03 13:13:21
|
Revision: 124 http://fclient.svn.sourceforge.net/fclient/?rev=124&view=rev Author: jurner Date: 2008-02-03 05:13:25 -0800 (Sun, 03 Feb 2008) Log Message: ----------- fix 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-02 18:30:56 UTC (rev 123) +++ trunk/sandbox/fcp/fcp2_0_consts.py 2008-02-03 13:13:25 UTC (rev 124) @@ -45,7 +45,7 @@ TransferFailed = 18 SplitfileError = 19 InvalidUri = 20 - TooBig = '21' + TooBig = 21 MetadataTooBig = 22 TooManyBlocks = 23 NotEnoughMetastrings = 24 @@ -148,15 +148,17 @@ class DisconnectReason: """Reasons for client disconnect + @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 ConnectFailed: connection could not be established + @cvar VersionMissmatch: node or Fcp version did not match """ - Shutdown = 1 - SocketDied = 2 - ConnectingFailed = 3 - DuplicateConnectionName = 4 - VersionMismatch = 5 #TODO: implement??? + ConnectingFailed = 1 + DuplicateClientName = 2 + Shutdown = 3 + SocketDied = 4 + VersionMissmatch = 5 #TODO: implement??? class FilenameCollision: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |