From bluesky-commits-return-175-apmail-incubator-bluesky-commits-archive=incubator.apache.org@incubator.apache.org Wed Oct 28 01:35:16 2009 Return-Path: Delivered-To: apmail-incubator-bluesky-commits-archive@minotaur.apache.org Received: (qmail 37826 invoked from network); 28 Oct 2009 01:35:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 01:35:16 -0000 Received: (qmail 68571 invoked by uid 500); 28 Oct 2009 01:35:16 -0000 Delivered-To: apmail-incubator-bluesky-commits-archive@incubator.apache.org Received: (qmail 68547 invoked by uid 500); 28 Oct 2009 01:35:16 -0000 Mailing-List: contact bluesky-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bluesky-dev@incubator.apache.org Delivered-To: mailing list bluesky-commits@incubator.apache.org Received: (qmail 68538 invoked by uid 99); 28 Oct 2009 01:35:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 01:35:16 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 01:35:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D127023889E1; Wed, 28 Oct 2009 01:34:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r830421 [7/47] - in /incubator/bluesky/webpage/files/html/APIdoc: ./ DTUAPI/ TserverAPI/ Date: Wed, 28 Oct 2009 01:34:14 -0000 To: bluesky-commits@incubator.apache.org From: mabowen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091028013426.D127023889E1@eris.apache.org> Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/classSeMCU__TS__communicate.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/classSeMCU__TS__communicate.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/classSeMCU__TS__communicate.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/classSeMCU__TS__communicate.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,293 @@ + + + + +RealClass: SeMCU_TS_communicate Class Reference + + + + + + +
+

SeMCU_TS_communicate Class Reference

+

#include <ts_communicate.h>

+
+Inheritance diagram for SeMCU_TS_communicate:
+
+
+ + +MCU_TS_communicate + +
+
+ +

List of all members.

+ + + + + + + + + + + + + + + + +

Public Member Functions

 SeMCU_TS_communicate ()
 ~SeMCU_TS_communicate ()
int recevie_msg (char *buf, int buf_length)
DWORD get_semcuid ()
int refresh_clist ()
DWORD GetSeMCUType ()

Private Attributes

DWORD SeMCUID
DWORD SeMCUType
struct group_para_semcu group_info
LISTCLIENTDESSEMCU semcu_client_des
JMutex semcu_clist_mutex
JMutex semcu_group_clist_mutex
JMutex se_access_clist_mutex
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
SeMCU_TS_communicate::SeMCU_TS_communicate ( ) 
+
+
+

assistant MCU constructor, initialize mutex and MCU type

+ +
+
+ +
+
+ + + + + + + + +
SeMCU_TS_communicate::~SeMCU_TS_communicate ( ) 
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
DWORD SeMCU_TS_communicate::get_semcuid ( ) 
+
+
+

get assistant MCU id

+ +
+
+ +
+
+ + + + + + + + +
DWORD SeMCU_TS_communicate::GetSeMCUType ( )  [inline]
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
int SeMCU_TS_communicate::recevie_msg (char *  buf,
int  buf_length 
) [virtual]
+
+
+

monitoring the message received, handle them depends on different situations

+
Parameters:
+ + + +
*buf message content
buf_length length of message
+
+
+ +

Implements MCU_TS_communicate.

+ +
+
+ +
+
+ + + + + + + + +
int SeMCU_TS_communicate::refresh_clist ( ) 
+
+
+

assistant MCU save/update forward list

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
struct group_para_semcu SeMCU_TS_communicate::group_info [read, private]
+
+
+ +
+
+ +
+
+ + + + +
JMutex SeMCU_TS_communicate::se_access_clist_mutex [private]
+
+
+

access list mutex

+ +
+
+ +
+ +
+

deposit forward list

+ +
+
+ +
+
+ + + + +
JMutex SeMCU_TS_communicate::semcu_clist_mutex [private]
+
+
+

assistant MCU list mutex

+ +
+
+ +
+
+ + + + +
JMutex SeMCU_TS_communicate::semcu_group_clist_mutex [private]
+
+
+

assistant MCU group mutex

+ +
+
+ +
+
+ + + + +
DWORD SeMCU_TS_communicate::SeMCUID [private]
+
+
+

assistant MCU id

+ +
+
+ +
+
+ + + + +
DWORD SeMCU_TS_communicate::SeMCUType [private]
+
+
+

assistant MCU type 0:out net 1:inner net

+ +
+
+
The documentation for this class was generated from the following files: +
+
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/classes.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/classes.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/classes.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/classes.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,44 @@ + + + + +RealClass: Alphabetical List + + + + + + + +
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8cpp.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8cpp.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8cpp.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8cpp.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,86 @@ + + + + +RealClass: clientsocket.cpp File Reference + + + + + + +
+

clientsocket.cpp File Reference

#include "stdafx.h"
+#include "clientsocket.h"
+#include "ts_communicate.h"
+ + + + + +

Variables

MaMCU_TS_communicate mcu_ts_comm
SeMCU_TS_communicate semcu_ts_comm
int mcu_or_semcu
+

Detailed Description

+

implementation of the CClientSocket class

+

Variable Documentation

+ +
+
+ + + + +
int mcu_or_semcu
+
+
+

variable determine whether it is MCU or assistant MCU 0: assistant MCU; 1:MCU

+ +
+
+ + + + +
+
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8h.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8h.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8h.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8h.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,58 @@ + + + + +RealClass: clientsocket.h File Reference + + + + + + +
+

clientsocket.h File Reference

#include "asyncsocketex.h"
+#include <string>
+ +

Go to the source code of this file.

+ + + + + +

Classes

class  CClientSocket

Defines

#define CLIENTSOCKET_H
+

Detailed Description

+

CClientSocket extends CAsyncSocketEx and handle socket event with users

+

Define Documentation

+ +
+
+ + + + +
#define CLIENTSOCKET_H
+
+
+ +
+
+
+
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8h_source.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8h_source.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8h_source.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/clientsocket_8h_source.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,62 @@ + + + + +RealClass: clientsocket.h Source File + + + + + + +
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/doxygen.css URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/doxygen.css?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/doxygen.css (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/doxygen.css Wed Oct 28 01:33:45 2009 @@ -0,0 +1,498 @@ +/* The standard CSS for doxygen */ + +body, table, div, p, dl { + font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; + font-size: 12px; +} + +/* @group Heading Levels */ + +h1 { + text-align: center; + font-size: 150%; +} + +h2 { + font-size: 120%; +} + +h3 { + font-size: 100%; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + padding: 2px; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #153788; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #1b77c5; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #6666cc; + color: #ffffff; + border: 1px double #9295C2; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code { +} + +a.codeRef { +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +.fragment { + font-family: monospace, fixed; + font-size: 105%; +} + +pre.fragment { + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + padding: 4px 6px; + margin: 4px 8px 4px 2px; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + margin-bottom: 6px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background: white; + color: black; + margin-right: 20px; + margin-left: 20px; +} + +td.indexkey { + background-color: #e8eef2; + font-weight: bold; + border: 1px solid #CCCCCC; + margin: 2px 0px 2px 0; + padding: 2px 10px; +} + +td.indexvalue { + background-color: #e8eef2; + border: 1px solid #CCCCCC; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #f0f0f0; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +/* @end */ + +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #84b0c7; +} + +th.dirtab { + background: #e8eef2; + font-weight: bold; +} + +hr { + height: 0; + border: none; + border-top: 1px solid #666; +} + +/* @group Member Descriptions */ + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #FAFAFA; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memItemLeft, .memItemRight, .memTemplParams { + border-top: 1px solid #ccc; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memTemplParams { + color: #606060; + white-space: nowrap; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #606060; + font-weight: normal; + margin-left: 3px; +} + +.memnav { + background-color: #e8eef2; + border: 1px solid #84b0c7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.memitem { + padding: 0; + margin-bottom: 10px; +} + +.memname { + white-space: nowrap; + font-weight: bold; +} + +.memproto, .memdoc { + border: 1px solid #84b0c7; +} + +.memproto { + padding: 0; + background-color: #d5e1e8; + font-weight: bold; + -webkit-border-top-left-radius: 8px; + -webkit-border-top-right-radius: 8px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -moz-border-radius-topleft: 8px; + -moz-border-radius-topright: 8px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + +} + +.memdoc { + padding: 2px 5px; + background-color: #eef3f5; + border-top-width: 0; + -webkit-border-bottom-left-radius: 8px; + -webkit-border-bottom-right-radius: 8px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -moz-border-radius-bottomleft: 8px; + -moz-border-radius-bottomright: 8px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} + +/* @end */ + +/* @group Directory (tree) */ + +/* for the tree view */ + +.ftvtree { + font-family: sans-serif; + margin: 0.5em; +} + +/* these are for tree view when used as main index */ + +.directory { + font-size: 9pt; + font-weight: bold; +} + +.directory h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +/* +The following two styles can be used to replace the root node title +with an image of your choice. Simply uncomment the next two styles, +specify the name of your image and be sure to set 'height' to the +proper pixel height of your image. +*/ + +/* +.directory h3.swap { + height: 61px; + background-repeat: no-repeat; + background-image: url("yourimage.gif"); +} +.directory h3.swap span { + display: none; +} +*/ + +.directory > h3 { + margin-top: 0; +} + +.directory p { + margin: 0px; + white-space: nowrap; +} + +.directory div { + display: none; + margin: 0px; +} + +.directory img { + vertical-align: -30%; +} + +/* these are for tree view when not used as main index */ + +.directory-alt { + font-size: 100%; + font-weight: bold; +} + +.directory-alt h3 { + margin: 0px; + margin-top: 1em; + font-size: 11pt; +} + +.directory-alt > h3 { + margin-top: 0; +} + +.directory-alt p { + margin: 0px; + white-space: nowrap; +} + +.directory-alt div { + display: none; + margin: 0px; +} + +.directory-alt img { + vertical-align: -30%; +} + +/* @end */ + +address { + font-style: normal; + color: #333; +} Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/doxygen.png URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/doxygen.png?rev=830421&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/doxygen.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtu_8cpp.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtu_8cpp.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtu_8cpp.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtu_8cpp.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,244 @@ + + + + +RealClass: dtu.cpp File Reference + + + + + + +
+

dtu.cpp File Reference

#include <config.h>
+#include <gtk/gtk.h>
+#include "interface.h"
+#include "support.h"
+ + + + + + + + + + + + + + + +

Defines

#define DTU_VERSION   "2.0"
#define ETH_NAME0   "eth0"
#define ETH_NAME1   "eth1"

Functions

int get_mcuip ()
int set_saved_setpara ()
int set_saved_userpara ()
int main (int argc, char **argv)

Variables

char g_mcu_ip [100]
int g_get_ip_falled = 0
struct entry_setpara mcu_get_para
struct entry_usepara mcu_get_user
+

Detailed Description

+

implementation of a dtu

+

Define Documentation

+ +
+
+ + + + +
#define DTU_VERSION   "2.0"
+
+
+

DTU version

+ +
+
+ +
+
+ + + + +
#define ETH_NAME0   "eth0"
+
+
+

get_mcuip(), eth0

+ +
+
+ +
+
+ + + + +
#define ETH_NAME1   "eth1"
+
+
+

eth1

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
int get_mcuip ( ) 
+
+
+

get MCU local ip

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int  argc,
char **  argv 
)
+
+
+

implementation of DTU

+
Parameters:
+ + + +
argc argument number
**argv argument content, if the string is "--version" or "-v", handle correspondingly
+
+
+ +
+
+ +
+
+ + + + + + + + +
int set_saved_setpara ( ) 
+
+
+

get saved parameter of server and MCU

+ +
+
+ +
+
+ + + + + + + + +
int set_saved_userpara ( ) 
+
+
+

get saved parameter of user

+ +
+
+

Variable Documentation

+ +
+
+ + + + +
int g_get_ip_falled = 0
+
+
+

record whether get ip address sucess,0:sucess 1:falled

+ +
+
+ +
+
+ + + + +
char g_mcu_ip[100]
+
+
+

hold MCU ip address

+ +
+
+ +
+
+ + + + +
struct entry_setpara mcu_get_para
+
+
+

record MCU configration

+ +
+
+ +
+
+ + + + +
struct entry_usepara mcu_get_user
+
+
+

record user infomation

+ +
+
+
+
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8cpp.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8cpp.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8cpp.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8cpp.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,236 @@ + + + + +RealClass: dtufunction.cpp File Reference + + + + + + +
+

dtufunction.cpp File Reference

#include "dtufunction.h"
+#include "dtunit.h"
+#include "dtupollthread.h"
+#include "ts_communicate.h"
+#include "mcumessage.h"
+ + + + + + + + + + + +

Functions

void init_dtu (int base_port=10000)
int add_udp_destination (char *ip_addr, int port, int which_port)
int remove_udp_destination (char *ip_addr, int port, int which_port)
int clear_udp_destination ()

Variables

MaMCU_TS_communicate mcu_ts_comm
SeMCU_TS_communicate semcu_ts_comm
int mcu_or_semcu = 0
CDTUnit dtu
+

Detailed Description

+

fulfill the function of dat transimit unit

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int add_udp_destination (char *  ip_addr,
int  port,
int  which_port 
)
+
+
+

add to which_ports in forward DTU list

+
Parameters:
+ + + + +
*ip_addr destination ip address
port destination port
which_port meaning 0:TSPort,1:TVPort,2:TAPort,3:SVPORT,4:SAPORT
+
+
+ +
+
+ +
+
+ + + + + + + + +
int clear_udp_destination ( ) 
+
+
+

clear all forward address in DTU list

+ +
+
+ +
+
+ + + + + + + + + +
void init_dtu (int  base_port = 10000 ) 
+
+
+

initialize DTU,add 5 forward ports,from base_port,step + 2,default TSPORT 10000,TVPORT10002

+
Parameters:
+ + +
base_port tcp communication port 10000
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int remove_udp_destination (char *  ip_addr,
int  port,
int  which_port 
)
+
+
+

delete which_ports in forward DTU list

+
Parameters:
+ + + + +
*ip_addr destination ip address
port destination port
which_port 0:TSPort,1:TVPort,2:TAPort,3:SVPORT,4:SAPORT
+
+
+ +
+
+

Variable Documentation

+ +
+
+ + + + +
CDTUnit dtu
+
+
+

CDTUnit object, data transmit unit

+ +
+
+ +
+
+ + + + +
int mcu_or_semcu = 0
+
+
+

variable determine whether it is MCU or assistant MCU 0: assistant MCU; 1:MCU

+ +
+
+ + + + +
+
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8h.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8h.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8h.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8h.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,95 @@ + + + + +RealClass: dtufunction.h File Reference + + + + + + +
+

dtufunction.h File Reference

#include <rtpsession.h>
+#include <rtppacket.h>
+#include <rtpudpv4transmitter.h>
+#include <rtpipv4address.h>
+#include <rtpsessionparams.h>
+#include <rtperrors.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <iostream>
+#include <string>
+#include "dtuporttype.h"
+ +

Go to the source code of this file.

+ + + + + +

Defines

#define DTUFUNCTION_H

Functions

void init_dtu (int base_port)
+

Detailed Description

+

on initializing a data transmit unit

+

Define Documentation

+ +
+
+ + + + +
#define DTUFUNCTION_H
+
+
+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + +
void init_dtu (int  base_port = 10000 ) 
+
+
+

initialize DTU,add 5 forward ports,from base_port,step + 2,default TSPORT 10000,TVPORT10002

+
Parameters:
+ + +
base_port tcp communication port 10000
+
+
+ +
+
+
+
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8h_source.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8h_source.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8h_source.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtufunction_8h_source.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,64 @@ + + + + +RealClass: dtufunction.h Source File + + + + + + +
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ + Added: incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtunit_8cpp.html URL: http://svn.apache.org/viewvc/incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtunit_8cpp.html?rev=830421&view=auto ============================================================================== --- incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtunit_8cpp.html (added) +++ incubator/bluesky/webpage/files/html/APIdoc/DTUAPI/dtunit_8cpp.html Wed Oct 28 01:33:45 2009 @@ -0,0 +1,74 @@ + + + + +RealClass: dtunit.cpp File Reference + + + + + + +
+

dtunit.cpp File Reference

#include "dtufunction.h"
+#include "dtunit.h"
+#include "dtupollthread.h"
+#include "rtprawpacket.h"
+ + + + + +

Defines

#define RTPUDPV4TRANS_RTPRECEIVEBUFFER   32768

Variables

int mcu_or_semcu
+

Detailed Description

+

implementation of class CDTUnit CDTUPort

+

Define Documentation

+ +
+
+ + + + +
#define RTPUDPV4TRANS_RTPRECEIVEBUFFER   32768
+
+
+

RTP transmit buffer

+ +
+
+

Variable Documentation

+ +
+
+ + + + +
int mcu_or_semcu
+
+
+

variable determine whether it is MCU or assistant MCU 0: assistant MCU; 1:MCU

+ +
+
+
+
Generated on Wed Oct 21 19:15:25 2009 for RealClass by  + +doxygen 1.6.0
+ +