Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Module SharedApplication :: Class SharedApplication |
|
AuthorizationMixIn
--+
|
SharedApplication
SharedApplication is the implementation class for an application
Method Summary | |
---|---|
An application object. | |
Return an application description, used in the rollup of venue state for the return from the Venue.Enter call. | |
AsINIBlock(self)
| |
Awaken(self,
eventService)
| |
GetComponents(self,
private_token)
| |
GetData(self,
private_token,
key)
| |
Return the channel id and location of the application object's data channel | |
Access method for retreiving all keys for application data. | |
GetEventServiceLocation(self)
| |
GetHandle(self)
| |
GetId(self)
| |
Returns a list of AppParticipantDescriptions that have client profile set. | |
Return the state of this application, used in the rollup of venue state for the return from the Venue.Enter call. | |
Return the url of the venue this app object is in. | |
Join(self,
clientProfile)
| |
Leave(self,
private_token)
| |
SetData(self,
private_token,
key,
value)
| |
Sets the web service handle that this app is listening on. | |
Sets profile of participant associated with private_token | |
Sets status of participant associated with private_token | |
SetVenueURL(self,
url)
| |
Shut down the applications before it is destroyed. | |
Reinitialize the data channels after a persistent restore. | |
Create a new data channel. | |
__InitializeDataChannel(self,
channel_id)
| |
Inherited from AuthorizationMixIn | |
Add a role to the list of required roles for this implementation. | |
Get the URL for the Authorization Manager. | |
Return a list of roles required by this implementation for authorization to work. |
Method Details |
---|
__init__(self,
name,
description,
mimeType,
eventService,
id=None)
|
AsApplicationDescription(self)Return an application description, used in the rollup of venue state for the return from the Venue.Enter call. |
GetDataChannel(self, private_token)Return the channel id and location of the application object's data channel |
GetDataKeys(self, private_token)Access method for retreiving all keys for application data. Returns [key] List of all keys for application data |
GetParticipants(self, private_token)Returns a list of AppParticipantDescriptions that have client profile set. |
GetState(self, private_token)Return the state of this application, used in the rollup of venue state for the return from the Venue.Enter call. The state is a dictionary with the following keys defined: name - name of the application description - an application-defined description of the application id - the unique identifier for this application instance mimeType - description of data type handled by this application url - the web service endpoint for this application object data - the application's data storage, itself a dictionary. |
GetVenueURL(self, private_token)Return the url of the venue this app object is in. |
SetHandle(self, handle)Sets the web service handle that this app is listening on. |
SetParticipantProfile(self, private_token, profile)Sets profile of participant associated with private_token Arguments profile New client profile. |
SetParticipantStatus(self, private_token, status)Sets status of participant associated with private_token Arguments status New status value. |
Shutdown(self)Shut down the applications before it is destroyed. |
__AwakenChannels(self)Reinitialize the data channels after a persistent restore. |
__CreateDataChannel(self)Create a new data channel. Returns the channel ID and the location of its event service. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:29 2005 | http://epydoc.sf.net |