コード例 #1
0
 public void SendConnectionRequest(string name, string remoteEndpointId, byte[] payload, Action <ConnectionResponse> responseCallback, IMessageListener listener)
 {
     Debug.LogError((object)"SendConnectionRequest called from dummy implementation");
     if (responseCallback != null)
     {
         ConnectionResponse obj = ConnectionResponse.Rejected(0L, string.Empty);
         responseCallback(obj);
     }
 }
        public void SendConnectionRequest(string name, string remoteEndpointId, byte[] payload,
                                          System.Action <ConnectionResponse> responseCallback, IMessageListener listener)
        {
            OurUtils.Logger.d("SendConnectionRequest called from dummy implementation");

            if (responseCallback != null)
            {
                ConnectionResponse obj = ConnectionResponse.Rejected(0, string.Empty);
                responseCallback.Invoke(obj);
            }
        }