00001 #ifndef _BD_DDS_IDL 00002 #define _BD_DDS_IDL 00003 00004 /******************************************************************************* 00005 * ALMA - Atacama Large Millimiter Array 00006 * (c) European Southern Observatory, 2011 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 * 00022 * "@(#) $Id: bulkDataNT.idl,v 1.4 2011/11/09 12:01:36 bjeram Exp $" 00023 * 00024 * who when what 00025 * -------- -------- ---------------------------------------------- 00026 * bjeram 2011-04-19 created 00027 */ 00028 00029 module ACSBulkData { 00030 typedef unsigned long DataType; 00031 00032 const unsigned long FRAME_MAX_LEN = 64000; 00033 00034 const DataType BD_PARAM=0; //start 00035 const DataType BD_DATA=1; // data 00036 const DataType BD_STOP=2; //stop 00037 00038 00039 struct BulkDataNTFrame{ 00040 // data type: parameter or real data 00041 DataType dataType; 00042 // just for data rest data length, how many chunks do we still have to get 00043 unsigned long restDataLength; 00044 00045 sequence<octet, 64*1024>/*dataChunk*/ data; 00046 }; 00047 00048 }; 00049 00050 #endif