Exemple #1
0
        public void setStrength(int strength)
        {
            DataWriterQos dq = new DataWriterQos();

            dwriter.GetQos(ref dq);
            dq.OwnershipStrength.Value = strength;
            ReturnCode status = dwriter.SetQos(dq);

            ErrorHandler.checkStatus(status, "DataWriter.SetQos");
        }