Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Module SharedApplication :: Class 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... | |
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 **Arguments** *profile* New client profile. | |
Sets status of participant associated with private_token **Arguments** *status* New status value. | |
SetVenueURL(self,
url)
| |
Shut down the applications before it is destroyed. |
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. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jan 09 13:23:46 2006 | http://epydoc.sf.net |