Exemplo n.º 1
0
 public IntellectAgent1(string id, string ip)
 {
     this.connector         = new IidkConnector(ip, id);
     this.intellectCallback = this.onMessage;
     this.connectorLock     = new object();
     this.isConnectedLock   = new object();
 }
Exemplo n.º 2
0
 public bool Connect(IntellectCallback func)
 {
     this.Disconnect();
     return(Connect(this.ip, IIDK_PORT, this.id, func) != 0);
 }
Exemplo n.º 3
0
 private static extern int Connect(string ip, string port, string id, IntellectCallback func);