dc_types.hpp

00001 /*
00002 This file is part of GraphLab.
00003 
00004 GraphLab is free software: you can redistribute it and/or modify
00005 it under the terms of the GNU Lesser General Public License as 
00006 published by the Free Software Foundation, either version 3 of 
00007 the License, or (at your option) any later version.
00008 
00009 GraphLab is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 GNU Lesser General Public License for more details.
00013 
00014 You should have received a copy of the GNU Lesser General Public 
00015 License along with GraphLab.  If not, see <http://www.gnu.org/licenses/>.
00016 */
00017 
00018 #ifndef DISTRIBUTED_CONTROL_TYPES_HPP
00019 #define DISTRIBUTED_CONTROL_TYPES_HPP
00020 #include <inttypes.h>
00021 namespace graphlab {
00022   /// The type used for numbering processors \ingroup rpc
00023   typedef uint16_t procid_t;
00024   
00025   /**
00026    * \ingroup rpc
00027    * The underlying communication protocol
00028    */
00029   enum dc_comm_type {
00030     TCP_COMM,   ///< TCP/IP
00031     SCTP_COMM   ///< SCTP (limited support)
00032   };
00033 };
00034 #include <graphlab/rpc/dc_packet_mask.hpp>
00035 #endif
00036