Exemple #1
0
 protected void OnInComingCall(object sender, PhoneNumber phoneNumber)
 {
     InComingCall?.Invoke(this, phoneNumber);
 }
Exemple #2
0
 protected void OnOutGoingCall(object sender, PhoneNumber phoneNumber)
 {
     OutGoingCall?.Invoke(this, phoneNumber);
 }
Exemple #3
0
 public Terminal(PhoneNumber number)
 {
     this.Port        = new Port(this);
     this.PhoneNumber = number;
     BindToTerminal();
 }
Exemple #4
0
 public void RememberConnection(PhoneNumber from, PhoneNumber to)
 {
     Connection = new Connection(from, to);
 }
Exemple #5
0
 public void GetCall(PhoneNumber phoneNumber)
 {
     OnInComingCall(this, phoneNumber);
 }