Back to problems

Communications Handler (CommsHandler)

Object-Oriented Programming · Akuna Capital · Medium

Requirements Create an object-oriented model for a communication line that can handle exactly one call at a time. Implement these classes: ConnectionException(Exception) (in certain versions, it is called CommunicationException) — define a custom exception initialized with one error-message string. CommsHandlerABC — provide an abstract base class with three abstract operations. CommsHandler(CommsHandlerABC) — implement the handler that records the currently connected pair,…

Checking your access…