Package AccessGrid :: Module VenueClientController :: Class VenueClientController
[show private | hide private]
[frames | no frames]

Class VenueClientController


Method Summary
  __init__(self)
  AddDataCB(self, fileList)
This method
  AddPersonalDataCB(self, fileList)
This method
  AddServiceCB(self, serviceDescription)
This method
  AddToMyVenuesCB(self, name, url)
This method
  ChangeProfile(self, profile)
This method changes this participants profile and saves the information to file.
  EditMyVenuesCB(self, myVenuesDict)
This method
  EditProfileCB(self, profile)
This method
  EnableAudioCB(self, enableFlag)
This method
  EnableVideoCB(self, enableFlag)
This method
  EnterVenueCB(self, venueUrl)
This method
  ExitCB(self)
Called when the window is closed using the built in close button
  get_ident_and_download(self, url, local_pathname, size, checksum, progressCB)
This method ...
  get_ident_and_upload(self, uploadUrl, fileList, progressCB)
This method uploads the specified files to the given upload destination...
  GetCommands(self, objDesc)
  GetInstalledApps(self)
  GetMyVenues(self)
  GoBackCB(self)
This method
  ModifyVenueRolesCB(self, rolesDict)
This method
  OpenDataCB(self, data)
This method
  OpenServiceCB(self, serviceDesc)
This method opens the specified service
  RemoveApplicationCB(self, appList)
This method removes applications in the specified list from the venue
  RemoveDataCB(self, data)
This method removes data in the specified list from the venue
  RemoveServiceCB(self, service)
This method removes services in the specified list from the venue
  SaveDataCB(self, data, path)
This method
  SaveFileNoProgress(self, dataDescription, localPathname)
Save a file from the datastore into a local file.
  SaveTextCB(self, filePath, text)
Saves text from text chat to file.
  SaveVenueData(self, dataDescription, localPathname)
Save a file from the datastore into a local file.
  SendTextCB(self, text)
  SetAsDefaultVenueCB(self)
This method
  SetGui(self, gui)
This method
  SetNodeUrlCB(self, nodeUrl)
This method
  SetVenueClient(self, venueClient)
This method
  StartAllCmd(self, objDesc, verb, cmd)
This method sends an event to all participants inviting them to join a shared application session.
  StartApplicationCB(self, name, appDesc)
Start the specified application.
  StartCmd(self, objDesc, verb, cmd)
This method builds up the command line given a command-line specification, and executes it
  StopApplications(self)
  UpdateApplicationCB(self, appDesc)
This method updates the application description for the specified application
  UpdateDataCB(self, data)
This method modifies the specified data in the venue
  UpdateServiceCB(self, serviceDesc)
This method updates the specified service
  UploadFilesNoDialog(self, fileList)
This method uploads the given files to the venue.
  UploadPersonalFiles(self, fileList)
This method uploads the given personal files to the venue.
  UploadVenueFiles(self, fileList)
Upload the given files to the venue.
  UseMulticastCB(self)
This method
  UseUnicastCB(self, provider)
This method

Method Details

AddDataCB(self, fileList)

This method

Arguments:

AddPersonalDataCB(self, fileList)

This method

Arguments:

AddServiceCB(self, serviceDescription)

This method

Arguments:

AddToMyVenuesCB(self, name, url)

This method

Arguments:

ChangeProfile(self, profile)

This method changes this participants profile and saves the information to file.

Arguments:

profile The ClientProfile including the new profile information

EditMyVenuesCB(self, myVenuesDict)

This method

Arguments:

EditProfileCB(self, profile)

This method

Arguments:

EnableAudioCB(self, enableFlag)

This method

Arguments:

EnableVideoCB(self, enableFlag)

This method

Arguments:

EnterVenueCB(self, venueUrl)

This method

Arguments:

ExitCB(self)

Called when the window is closed using the built in close button

get_ident_and_download(self, url, local_pathname, size, checksum, progressCB)

This method 

**Arguments:**

*url* The url of the file to download
*local_pathname* The path to the destination file
*size* The size of the file
*checksum* File checksum
*progressCB* A callable that will be called periodically for progress updates
             (see the DataStore module for the method signature)

get_ident_and_upload(self, uploadUrl, fileList, progressCB)

This method uploads the specified files to the given upload destination

**Arguments:**

*uploadUrl* URL to upload destination
*fileList* List of files to upload
*progressCB* A callable that will be called periodically for progress updates
             (see the DataStore module for the method signature)

GoBackCB(self)

This method

Arguments:

ModifyVenueRolesCB(self, rolesDict)

This method

Arguments:

rolesDict Dictionary of roles

OpenDataCB(self, data)

This method

Arguments:

OpenServiceCB(self, serviceDesc)

This method opens the specified service

Arguments:

serviceDesc ServiceDescription of the service to open

RemoveApplicationCB(self, appList)

This method removes applications in the specified list from the venue

Arguments:

appList List of ApplicationDescriptions to remove from venue

RemoveDataCB(self, data)

This method removes data in the specified list from the venue

Arguments:

data DataDescription of the file to remove

RemoveServiceCB(self, service)

This method removes services in the specified list from the venue

Arguments:

itemList List of ServiceDescriptions to remove

SaveDataCB(self, data, path)

This method

Arguments:

SaveFileNoProgress(self, dataDescription, localPathname)

Save a file from the datastore into a local file.

We assume that the caller has assured the user that if the user has picked a file that already exists, that it will be overwritten.

This implementation fires up a separate thread for the actual transfer. We want to do this to keep the application live for possible long-term transfers, to allow for live updates of a download status, and to perhaps allow multiple simultaneous transfers.

Arguments:

dataDescription DataDescription of the file to save localPathname Path to destination file

SaveTextCB(self, filePath, text)

Saves text from text chat to file.

SaveVenueData(self, dataDescription, localPathname)

Save a file from the datastore into a local file.

We assume that the caller has assured the user that if the user has picked a file that already exists, that it will be overwritten.

This implementation fires up a separate thread for the actual transfer. We want to do this to keep the application live for possible long-term transfers, to allow for live updates of a download status, and to perhaps allow multiple simultaneous transfers.

Arguments:

dataDescription DataDescription of the file to save localPathname Path to destination file

SetAsDefaultVenueCB(self)

This method

Arguments:

SetGui(self, gui)

This method

Arguments:

SetNodeUrlCB(self, nodeUrl)

This method

Arguments:

SetVenueClient(self, venueClient)

This method

Arguments:

StartAllCmd(self, objDesc, verb=None, cmd=None)

This method sends an event to all participants inviting them to join a shared application session.

StartApplicationCB(self, name, appDesc)

Start the specified application. This method creates the application in the venue.

Arguments:

name User-specified name of the application to start app ApplicationDescription of the application we want to start

StartCmd(self, objDesc, verb=None, cmd=None)

This method builds up the command line given a command-line specification, and executes it

Arguments:

objDesc verb

UpdateApplicationCB(self, appDesc)

This method updates the application description for the specified application

Arguments:

appDesc ApplicationDescription of the app to update

UpdateDataCB(self, data)

This method modifies the specified data in the venue

Arguments:

dataDesc DataDescription of the data to modify

UpdateServiceCB(self, serviceDesc)

This method updates the specified service

Arguments:

serviceDesc ServiceDescription of the service to update

UploadFilesNoDialog(self, fileList)

This method uploads the given files to the venue. This uses the DataStore HTTP upload engine code.

Arguments:

fileList The list of files to upload

UploadPersonalFiles(self, fileList)

This method uploads the given personal files to the venue.

Arguments:

fileList The list of files to upload

UploadVenueFiles(self, fileList)

Upload the given files to the venue.

This implementation fires up a separate thread for the actual transfer. We want to do this to keep the application live for possible long-term transfers and to allow for live updates of a download status.

Arguments:

fileList The list of files to upload

UseMulticastCB(self)

This method

Arguments:

UseUnicastCB(self, provider)

This method

Arguments:


Generated by Epydoc 2.1 on Thu Apr 14 16:39:27 2005 http://epydoc.sf.net