示例#1
0
 public MLConnection(Guid pid, OnSendCallback callback)
 {
     _sendcallback     = callback;
     _pluginID         = pid;
     ExecutingAssembly = Assembly.GetExecutingAssembly();
 }
示例#2
0
 protected virtual void OnSend(IAsyncResult result)
 {
     SocketLog("OnSend SUCCESS!");
     OnSendCallback?.Invoke(this);
 }
示例#3
0
 public MLConnection(Guid pid, OnSendCallback callback)
 {
     _sendcallback = callback;
     _pluginID = pid;
     ExecutingAssembly = Assembly.GetExecutingAssembly();
 }