/// <summary> /// Initializes a new instance of the <see cref="OscMessage"/> class. /// </summary> /// <param name="sourceEndPoint">The packet origin.</param> /// <param name="address">The Osc address pattern.</param> /// <param name="client">The destination of sent packets when using TransportType.Tcp.</param> public OscMessage(IPEndPoint sourceEndPoint, string address, OscClient client = null) : base(sourceEndPoint, address, client) { Assert.IsTrue(address.StartsWith(AddressPrefix)); mTypeTag = DefaultTag.ToString(); }
/// <summary> /// Remove all data from the message. /// </summary> public void ClearData() { mTypeTag = DefaultTag.ToString(); mData.Clear(); }