()
| 53 | |
| 54 | /* Get instance of singleton class. */ |
| 55 | public static CallHandler getInstance() { |
| 56 | if (instance == null) { |
| 57 | instance = new CallHandler(); |
| 58 | } |
| 59 | return instance; |
| 60 | } |
| 61 | |
| 62 | /* Gets the first available employee who can handle this call. */ |
| 63 | public Employee getHandlerForCall(Call call) { |
no outgoing calls