Contents

An Event Process: 'SimpleChat' is provided in eStudio application as a sample to understand the functionality of Chat component. To find the Simple Chat EP, Open Server Explorer window from Window > Show View and find under Samples folder in Event Process Repository.

Functionality

For 2 chat components that are connected to each other,

  • Messages sent from chat1 appear in chat2.
  • Alternatively, messages sent from chat2 appear in chat1.

Execution

Icon

Refer the Running an Event Process section to understand how to use the icons responsible for running an Event Process.

To run the Simple Chat application available in Samples, follow the below steps:

  1. Click Check Resource and Connectivity icon (or press ALT+SHIFT+C) to check resource and connectivity before running the EP (Event Process).

     

    Icon

    Icons to check resource and connectivity, run event process, stop event process etc can be found in the figure above (on the tool bar).

  2. Click Run Event Process icon (ALT+SHIFT+R) to run the EP.
  3. Two windows representing the Chat services appear (SIMPLECHAT__1_0_chat1 and SIMPLECHAT__1_0_chat2 in the figure below).
  4. Type a sample message in SIMPLECHAT__1_0_chat1 and press Enter; notice that the message appears in SIMPLECHAT_1_0_chat2 window.

    Icon

    By default, the font color that appears on the window from which the message is sent will be black and that of the recipient will be blue. This can be changed in Component CPS. 


  5. Type a message in SIMPLECHAT_1_0chat2, press Enter and notice that the message appears in SIMPLECHAT_1_0__chat1. 

  6. Click Stop Event Process icon to stop the running event process, which closes the chat windows too.
Icon

While the application is running, the font colour of the services appear green and Stop  icon gets visible/active.

Icon

Refer the section Creating a Chat Event Process section for instructions to create such an application.

Adaptavist ThemeBuilder EngineAtlassian Confluence