[AG-TECH] about the VenueClientController in AG2

Michael Braitmaier braitmaier at hlrs.de
Mon Sep 18 07:06:14 CDT 2006


You are mixing two different things.
The method in (1) is used to upload data to the shared data store of the 
venue. These files are normally visible
in the "Data" section of the VenueClient.

The method in (2) is used to make data on a participant's computer 
available in a session without transfering the data to a different computer.
These files are normally visible below the user's name in the 
particpiant list.

So it depends on which files you want to do something.
The notification of the VenueClientUI is done through events which are 
triggered on server-side and not on client-side.

Michael

lgq schrieb:
> Hi,
> In AG2,the AccessGrid.VenueClientController class contains two methods:
>
> (1)AddDataCB
> (2)AddPersonalDataCB
>
> 'AddDataCB' invokes the method 'UploadVenueFiles' which creates a thread
> to be responsible for transferring files. But in the thread's method:
> 'get_ident_and_upload', I can't find the codes for updating the
> VenueClientUI.
>
> 'AddPersonalDataCB' invokes the method 'UploadPersonalFiles'. This
> method contains following lines:
>
> """
>            # Send an event alerting about new data (only if it is new)
>            #if newData: 
>             dataDescription =
> self.__venueClient.dataStore.GetDescription(name)
>             self.__venueClient.SendEvent(Events.AddDataEvent
> (self.__venueClient.GetEventChannelId(), 
>
> dataDescription))
>
> """
>
> In my opinion,these lines are used to update the VenueClientUI.
>
>
> How to update the VenueClientUI in the first method 'AddDataCB'?
> How about the differences between these two methods?
>
>
>
>
>
>
>
>   


-- 
------------------
Dipl.-Inf. Michael Braitmaier
HLRS - Visualization / Video Conferencing
University of Stuttgart
Germany
Phone: ++49 711 685 65996
Fax  : ++49 711 682 357
Website: http://www.hlrs.de/people/braitmaier/




More information about the ag-tech mailing list