Class representing a Cedar Backup peer.
As with all of the other classes that represent configuration
sections, all of these values are optional. It is up to some higher-level
construct to decide whether everything they need is filled in. Some
validation is done on non-None
assignments through the use
of the Python property()
construct.
The following restrictions exist on data in this class:
Method Summary |
|
__init__ (self,
name,
collectDir,
remoteUser,
rcpCommand)
Constructor for the RemotePeer class. |
|
__repr__ (self)
Official string representation for class instance. |
|
__str__ (self)
Informal string representation for class instance. |
|
__cmp__ (self,
other)
Definition of equals operator for this class. |
|
_getCollectDir (self)
Property target used to get the collect directory. |
|
_getName (self)
Property target used to get the peer name. |
|
_getRcpCommand (self)
Property target used to get the rcp command. |
|
_getRemoteUser (self)
Property target used to get the remote user. |
|
_setCollectDir (self,
value)
Property target used to set the collect directory. |
|
_setName (self,
value)
Property target used to set the peer name. |
|
_setRcpCommand (self,
value)
Property target used to set the rcp command. |
|
_setRemoteUser (self,
value)
Property target used to set the remote user. |
Inherited from object |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__getattribute__ (...)
x.__getattribute__('name') <==> x.name |
|
__hash__ (x)
x.__hash__() <==> hash(x) |
|
__new__ (T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
|
__reduce__ (...)
helper for pickle |
|
__reduce_ex__ (...)
helper for pickle |
|
__setattr__ (...)
x.__setattr__('name', value) <==> x.name = value |