Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public Controller(Picture pPicture, CanvasWindow pWindow)
 {
     m_picture = pPicture;
     m_canvasWindow = pWindow;
     client = null;
 }
Esempio n. 4
0
 public Controller(Picture pPicture, CanvasWindow pWindow)
 {
     m_picture      = pPicture;
     m_canvasWindow = pWindow;
     client         = null;
 }