SF.net SVN: fclient: [438] trunk/sandbox/fcp2/message.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-06-30 09:35:46
|
Revision: 438
http://fclient.svn.sourceforge.net/fclient/?rev=438&view=rev
Author: jUrner
Date: 2008-06-30 02:35:54 -0700 (Mon, 30 Jun 2008)
Log Message:
-----------
removed some left over code
Modified Paths:
--------------
trunk/sandbox/fcp2/message.py
Modified: trunk/sandbox/fcp2/message.py
===================================================================
--- trunk/sandbox/fcp2/message.py 2008-06-30 09:17:24 UTC (rev 437)
+++ trunk/sandbox/fcp2/message.py 2008-06-30 09:35:54 UTC (rev 438)
@@ -17,7 +17,6 @@
from fcp2 import consts
from fcp2 import types
from fcp2 import key
-from fcp2.fcp_lib import pmstruct
from fcp2.fcp_lib import node
from fcp2.fcp_lib import uuid
@@ -417,21 +416,6 @@
ConfigMessageParamTypes = _ConfigMessageParamTypes()
#********************************************************************************
-# equipp Get / Put messages with some persistent params
-#
-# these params are stored in ClientToken
-#
-#********************************************************************************
-class PeristentParamsGet(pmstruct.PoorMansStruct):
- _fields_ = (
- ('Flags', pmstruct.Int),
- ('InitTime', pmstruct.Float),
- ('PersistentUserData', pmstruct.Str),
- )
-
-PeristentParamsPut = PeristentParamsGet
-
-#********************************************************************************
# at runtime we store a few additional params in msg.params
#
# for uniformity reasons we store them in msg.params and mark them
@@ -522,7 +506,12 @@
PrivateParam('InitTime'): 0, # when was the request started?
}
-
+#********************************************************************************
+# equipp Get / Put messages with some persistent params
+#
+# these params are stored in ClientToken
+#
+#********************************************************************************
PersistentParamsGet = (
(
lambda msg: str(msg.__getitem__('RequestType')),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|