IBR-DTNSuite  0.8
daemon/src/net/DatagramConnectionParameter.h
Go to the documentation of this file.
00001 /*
00002  * DatagramConnectionParameter.h
00003  *
00004  *  Created on: 23.11.2011
00005  *      Author: morgenro
00006  */
00007 
00008 #ifndef DATAGRAMCONNECTIONPARAMETER_H_
00009 #define DATAGRAMCONNECTIONPARAMETER_H_
00010 
00011 namespace dtn
00012 {
00013         namespace net
00014         {
00015                 class DatagramConnectionParameter
00016                 {
00017                 public:
00018                         enum FLOWCONTROL
00019                         {
00020                                 FLOW_NONE = 0,
00021                                 FLOW_STOPNWAIT = 1
00022                         };
00023 
00024                         FLOWCONTROL flowcontrol;
00025                         unsigned int max_seq_numbers;
00026                         size_t max_msg_length;
00027                 };
00028         }
00029 }
00030 
00031 #endif /* DATAGRAMCONNECTIONPARAMETER_H_ */