Docsity

CSE775 Project #3: Building COM & .Net Components for a Distributed Sniffer Client - Prof., Study Guides, Projects, Research of Engineering

Toggle sidebar
bg1
CSE775 – Distributed Objects Spring 2005
Project #3 – Component-Based User Interface due Monday, Apr
11
Purpose:
This project requires you to build a series of COM and .Net components that you will use to build
a Graphical User Interface for the Sniffer Client you built in Project #2. The required controls are:
1. A control derived from ListCtrl that reads a configuration file, at start up, which provides
information about all the sniffers the client can run. When the user clicks on a sniffer
item, that sniffer will be started, if not running, or stopped if running. The control will
indicate, for each sniffer, whether it is running or not1.
2. A composite control that displays information about each of the sniffer’s current results,
perhaps using a tabbed control to use the display real estate effectively.
3. An alarm control that identifies each item found by a sniffer that is not on the sniffer’s
safe list, provides as much information as available to the user about this item, and
accepts a command to either: add the item to the sniffer’s safe list, or add the item to a
display in the control from part 2. that lists all of the currently active unsafe items from all
the sniffers.
4. A non-visual control that supports the sniffer’s management of safe lists.
At least one of these controls must be developed using ATL and the COM technology, and at least
one must be developed using .Net control technology. I believe you will find that it is much
easier to implement all the controls with visual presentations using .Net.
Requirements:
Your sniffer Client program:
1. shall compile and link from the command line, using VC++ 7.1, as provided in the ECS
clusters and operate in the environment provided there 2.
2. shall provide at least four components, as described in the purpose section.
3. shall use ATL-based COM technology to build at least one of these controls.
4. shall use .Net control technology to build at least one of these controls.
5. All of these controls shall be built with either COM or .Net technologies in such a way that
they can be contained on one of the toolbox tabbed dialogs.
6. shall provide a Graphical User Interface that uses three of these controls.
7. shall modify each of the sniffers developed in Project #2 to use the safe list manager
control.
8. shall submit the two sniffers developed in Project #2, modified as per the requirement
above and the Client that uses the other controls to display sniffer information developed
by the modified sniffers.
1 You will need to decide just how much functionality to place in the control and
how much is to be provided by the container.
2 VC++ ver 7.0 is Visual Studio .Net and is available in all the ECS clusters.

Partial preview of the text

Download CSE775 Project #3: Building COM & .Net Components for a Distributed Sniffer Client - Prof. and more Study Guides, Projects, Research Engineering in PDF only on Docsity!

CSE775 – Distributed Objects Spring 2005

Project #3 – Component-Based User Interface due Monday, Apr

Purpose:

This project requires you to build a series of COM and .Net components that you will use to build a Graphical User Interface for the Sniffer Client you built in Project #2. The required controls are:

1. A control derived from ListCtrl that reads a configuration file, at start up, which provides

information about all the sniffers the client can run. When the user clicks on a sniffer item, that sniffer will be started, if not running, or stopped if running. The control will indicate, for each sniffer, whether it is running or not^1.

  1. A composite control that displays information about each of the sniffer’s current results, perhaps using a tabbed control to use the display real estate effectively.
  2. An alarm control that identifies each item found by a sniffer that is not on the sniffer’s safe list, provides as much information as available to the user about this item, and accepts a command to either: add the item to the sniffer’s safe list, or add the item to a display in the control from part 2. that lists all of the currently active unsafe items from all the sniffers.

4. A non-visual control that supports the sniffer’s management of safe lists.

At least one of these controls must be developed using ATL and the COM technology, and at least one must be developed using .Net control technology. I believe you will find that it is much easier to implement all the controls with visual presentations using .Net.

Requirements:

Your sniffer Client program:

  1. shall compile and link from the command line, using VC++ 7.1, as provided in the ECS clusters and operate in the environment provided there^2.
  2. shall provide at least four components, as described in the purpose section.
  3. shall use ATL-based COM technology to build at least one of these controls.
  4. shall use .Net control technology to build at least one of these controls.
  5. All of these controls shall be built with either COM or .Net technologies in such a way that they can be contained on one of the toolbox tabbed dialogs.
  6. shall provide a Graphical User Interface that uses three of these controls.
  7. shall modify each of the sniffers developed in Project #2 to use the safe list manager control.
  8. shall submit the two sniffers developed in Project #2, modified as per the requirement above and the Client that uses the other controls to display sniffer information developed by the modified sniffers. (^1) You will need to decide just how much functionality to place in the control and how much is to be provided by the container. (^2) VC++ ver 7.0 is Visual Studio .Net and is available in all the ECS clusters.