Webmasters, gagnez de l'argent en affichant des bannières contextuelles Oxado
SourceForge.net Logo
Support This Project
   LeCouteauSuisse Project
Welcome ! [ Home ]  ·  [ Downloads ]  ·  [ Forums ]  ·  [ News ]  ·  [ Documentations ]  
[ Home ]

[ Documentations ]

Introduction


In this stage we will create our own generator and receiver. The generator will replace the three machine alert. It will provide to add some specific informations like quantity, kind and localisation of coffee machine. As we want to add specific informations we must create a specific event to handle these informations. The receiver will replace the Mail receiver named 'SendOrder'. The new receiver will send a mail but the body must describe detail of order. As we receive an XML description of the order in the event we will make an XSL transformation.

For this stage you will need Visual Studio 2005 to develop generator and receiver.

We will create a Library project and three class named :

  • MachineAlertGenerator : a generator for specific alert of coffee machine. Each alert is an event of type MachineAlertEvent
  • MachineAlertEvent : event with specific information on machine alert
  • OrderReceiver : a receiver to send and format orders
The supply chain will looks like this :


LeCouteauSuisse