Can anyone help me with this assignment I need to do?
Guidance:
Use a suitable container to store the active phones within the network. You need to consider how each of the separate phones will communicate with each other. One way would be to implement an exchange class to manage the phones.
The exchange and phone(s) should be represented using VB forms. The exchange should manage the creation / removal of phones from your chosen container. A phone should be able to communicate with any another phone on the network.
How do you make the phone ring? You could simulate an incoming call with a flashing light - off when in standby mode and flashing when activated by a call.
You also need to consider what happens if one phone tries to connect to another phone already engaged in a call?
Version 1.0:
Your initial version should: -
- Create new phones within the network
- Remove phones from the network
- Make a call from one phone to another phone within the network
- Answer a call
- Terminate a call
Do this first and get it working before tackling any enhancements.
Version 2.0: Create an enhanced version of the application
An enhanced version of your system will include two different types of phone. A standard phone for voice communication only, and an advanced phone that includes the ability to send simple text messages.