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