public RTPServerMainView()
        {
            InitializeComponent();

            //attach delegates to methods
            changeServerStatusTextBox = new changeServerStatus(writeToServerTextBox);
            changeClientRequestTextBox = new changeClientRequest(writeToClientRequestTextBox);
            checkHeader = new checkPrintHeaderStatus(checkPrintHeader);
            changeFrameNumber = new changeFrameNumberTextBox(changeFrameTextBox);

            //passing a reference of the view to the server controller
            listeningServer = new StreamingServer(this);

            listening = false;
        }
Exemplo n.º 2
0
 //adds reference to server (without creating object)
 public static void addReferenceToServer(StreamingServer refserver)
 {
     referenceToServer = refserver;
 }