static void Main(string[] args) { var signal = SignalChannel.Create(); signal.Login(); signalProcesser = new SignalProcesser(signal); signalProcesser.Test(); }
public SignalProcesser(SignalChannel signal) { this.signal = signal; signal.OnMessage += Signal_OnMessage; }