The Robot Application Programming Interface Delegate Project
RAPID Logo

FileQueueState.idl

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2009 United States Government as represented by the
00003  * Administrator of the National Aeronautics and Space Administration.
00004  * All Rights Reserved.
00005  */
00006 
00007 #include "Message.idl"
00008 #include "BaseTypes.idl"
00009 
00017 module rapid {
00018 
00028     enum ChannelStatus {
00029         FILE_QUEUE_CHANNEL_ACTIVE,
00030         FILE_QUEUE_CHANNEL_PAUSED
00031         };
00032 
00033     struct ChannelState {
00034 
00036         ChannelStatus status;
00037 
00039         long long queuedDataVolume;
00040 
00042         short queuedFiles;
00043     };
00044 
00045     typedef sequence<ChannelState> ChannelStateSequence;
00046 
00050     valuetype FileQueueState : Message {
00051 
00056         public boolean connected;
00057 
00059       public long bandwidth;
00061       public long prefetchBandwidth;
00062 
00064         public ChannelStateSequence channels;
00065     };
00066 };
00067 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines