Beispiel #1
0
 public void Connect( Action pOnConnectionComplete )
 {
     client = new AsyncTcpClient("217.147.82.190", 9150, pOnConnectionComplete);
     client.JsonMessageDispatcher = OnJsonArrived;
     client.LogDispatcher += (o) => { Console.WriteLine(o); };
     client.Connect();
     //client.ConnectTo("192.168.0.16", 9150, pOnConnectionComplete);
 }
Beispiel #2
0
 public void Connect(Action pOnConnectionComplete)
 {
     client = new AsyncTcpClient("217.147.82.190", 9150, pOnConnectionComplete);
     client.JsonMessageDispatcher = OnJsonArrived;
     client.LogDispatcher        += (o) => { Console.WriteLine(o); };
     client.Connect();
     //client.ConnectTo("192.168.0.16", 9150, pOnConnectionComplete);
 }
Beispiel #3
0
 public Controller(Picture pPicture, CanvasWindow pWindow)
 {
     m_picture = pPicture;
     m_canvasWindow = pWindow;
     client = null;
 }
Beispiel #4
0
 public Controller(Picture pPicture, CanvasWindow pWindow)
 {
     m_picture      = pPicture;
     m_canvasWindow = pWindow;
     client         = null;
 }