Ejemplo n.º 1
0
 private void afterData(IntPtr ziti_connection, int status, GCHandle write_context)
 {
     if (aafterData == null)
     {
         throw new Exception("aafter data is not set?");
     }
     if (status < 0)
     {
         aafterData(this, (ZitiStatus)status, write_context.Target);
     }
     else
     {
         aafterData(this, ZitiStatus.OK, write_context.Target);
     }
     write_context.SafeFreeGCHandle();
 }