Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: cavagnaro on December 03, 2008, 05:05:03 PM

Title: Stat platform SDK
Post by: cavagnaro on December 03, 2008, 05:05:03 PM
Hi guys,
I'm testing the example of this platform trying to use applications blocks, however in the code it references to a using Genesyslab.Platform.ApplicationBlocks.Commons.Broker however I can't find this...does anybody knows where to find it? Or anyone has a simple code example on how to connect, retrieve and handle events for StatServer?
Thanks
Title: Re: Stat platform SDK
Post by: René on December 03, 2008, 08:10:46 PM
Hi Cav,

MessageBroker block is part of Platform SDK. Once you install it you can find source codes of that block in "ApplicationBlocks/MessageBroker" folder.

There are several samples available on documentation CD/DVD. It is possible to download these for DevZone website as well.

R.
Title: Re: Stat platform SDK
Post by: cavagnaro on December 03, 2008, 11:50:23 PM
:-[ :-[ Thanks René...missed that one...
Title: Re: Stat platform SDK
Post by: cavagnaro on December 04, 2008, 12:05:17 AM
I added the references however still getting
[quote]
Error 1 The name 'BrokerServiceFactory' does not exist in the current context f:\LapTop Vista\Productos\Genesys\SDK\sdk_code_platform_stat-net\StatisticsPlatformSDKExample\StatisticsPlatformSDKExample\Form1.cs 104 34 StatisticsPlatformSDKExample
[/quote]

I don't see in the example where is BrokerServiceFactory initialized. Help please.

The specific code line is:

eventBrokerService = BrokerServiceFactory.CreateEventBroker(protocolManagementService.Receiver);