Example #1
0
        /// <summary>
        /// Create a bundle of messages
        /// </summary>
        /// <param name="origin">the origin of the osc bundle</param>
        /// <param name="timestamp">timestamp</param>
        /// <param name="messages">messages to bundle</param>
        public OscBundle(IPEndPoint origin, DateTime timestamp, params OscPacket[] messages)
        {
            m_Origin = origin;

            m_Timestamp = OscTimeTag.FromDataTime(timestamp);
            m_Messages  = messages;
        }
Example #2
0
        /// <summary>
        /// Create a bundle of messages
        /// </summary>
        /// <param name="timestamp">timestamp</param>
        /// <param name="messages">messages to bundle</param>
        public OscBundle(DateTime timestamp, params OscPacket[] messages)
        {
            m_Origin = Helper.EmptyEndPoint;

            m_Timestamp = OscTimeTag.FromDataTime(timestamp);
            m_Messages  = messages;
        }