Author Topic: Stat platform SDK  (Read 4427 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Stat platform SDK
« 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

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Stat platform SDK
« Reply #1 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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Stat platform SDK
« Reply #2 on: December 03, 2008, 11:50:23 PM »
:-[ :-[ Thanks René...missed that one...

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Stat platform SDK
« Reply #3 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);