twisted.protocols.memcache.Command(object) class documentationtwisted.protocols.memcache
View Source
(View In Hierarchy)
Wrap a client action into an object, that holds the values used in the protocol.
| Instance Variable | command | name of the command sent to the server. (type: str) |
| Method | __init__ | Create a command. |
| Method | success | Shortcut method to fire the underlying deferred. |
| Method | fail | Make the underlying deferred fails. |
| Instance Variable | _deferred | the Deferred
object that will be fired when the result arrives. (type: Deferred) |
Create a command.
| Parameters | command | the name of the command. (type: str) |
| kwargs | this values will be stored as attributes of the object for future use |