static void Main(string[] args)
        {
            Parser parser = new Parser();
            Receiver receiver = new Receiver(parser,21337);
            Transmitter transmitter = new Transmitter();
            ServerInterpreter interpreter = new ServerInterpreter(receiver,transmitter);

            interpreter.StartReceiving();

        }
 public PcInterpreter(Receiver receiver, Transmitter transmitter) : base(receiver, transmitter)
 {
     //this.m_receiver.Parser.CaseCreated += OnCaseCreated;
 }
 public ServerInterpreter(Receiver receiver, Transmitter transmitter) : base(receiver,transmitter)
 {
     m_receiver.Parser.PhonePairRequest += PhonePairRequest;
     m_receiver.Parser.PcPairRequest += PcPairRequest;
     m_receiver.Parser.EndOfCall += EndOfCall;
 }
Beispiel #4
0
 public ServerInterpreter(Receiver receiver, Transmitter transmitter) : base(receiver, transmitter)
 {
     m_receiver.Parser.PhonePairRequest += PhonePairRequest;
     m_receiver.Parser.PcPairRequest    += PcPairRequest;
     m_receiver.Parser.EndOfCall        += EndOfCall;
 }
Beispiel #5
0
 public Interpreter(Receiver receiver, Transmitter transmitter)
 {
     m_receiver    = receiver;
     m_transmitter = transmitter;
 }
Beispiel #6
0
 public Interpreter(Receiver receiver, Transmitter transmitter)
 {
     m_receiver = receiver;
     m_transmitter = transmitter;
 }