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