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