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