/ . / Collaboratory / API.py / CollabExtension
Collaboratory-aware extension base class.
Methods
|
|
|
collabSendCreate
|
collabSendCreate (
self,
sharedState,
idMap,
)
Construct data for synchronization with remote extension.
Return a pickled dictionary of new SharedState attributes.
|
|
collabRecvDelete
|
collabRecvDelete ( self )
Delete SharedState instance.
The derived extension has a chance to clean up unshared state.
|
|
collabSendModify
|
collabSendModify (
self,
sharedState,
idMap,
)
Construct data for synchronization with remote extension.
Return a pickled dictionary of changed SharedState attributes.
|
|
collabRecvModify
|
collabRecvModify ( self, data )
Update SharedState instance with new attribute values.
The derived extension has a chance to also update unshared
state that are dependent on the changed attributes.
|
|
__init__
|
__init__ ( self, name )
Create a SharedState instance for synchronization.
|
|
|