Changeset: 5cad25f3d7bb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5cad25f3d7bb
Modified Files:
sql/backends/monet5/datacell/actuator.c
Branch: default
Log Message:
Prepare hook for real-time replay
diffs (52 lines):
diff --git a/sql/backends/monet5/datacell/actuator.c
b/sql/backends/monet5/datacell/actuator.c
--- a/sql/backends/monet5/datacell/actuator.c
+++ b/sql/backends/monet5/datacell/actuator.c
@@ -18,12 +18,11 @@
*/
/*
- * @a M. Kersten, E. Liarou, R. Goncalves
+ * M. Kersten, E. Liarou, R. Goncalves
The Actuator Simulation program
This program listens to an event stream on a particular port.
It collects statistics on the events.
- * @f actuator
*/
#ifndef ACTUATOR
#define ACTUATOR
@@ -51,7 +50,7 @@
#include "dcsocket.h"
-/* #define _DEBUG_ACTUATOR_ */
+#define _DEBUG_ACTUATOR_
#define ACout GDKout
FILE *fd;
@@ -77,7 +76,7 @@ ACnew(str nme)
#define TCP 1
#define UDP 2
-static int protocol = TCP; /* default protocol to use is TCP */
+static int protocol = UDP; /* default protocol to use is UDP */
#define ACTIVE 1
#define PASSIVE 2
@@ -116,7 +115,7 @@ usage(void)
mnstr_printf(ACout, "\nactuator [options]\n");
mnstr_printf(ACout, "--host=<host name>, default localhost\n");
mnstr_printf(ACout, "--port=<portnr>, default 50600 \n");
- mnstr_printf(ACout, "--protocol=<name> either tcp/udp\n");
+ mnstr_printf(ACout, "--protocol=<name> either tcp/udp (default
udp)\n");
mnstr_printf(ACout, "--actuator=<actuator name> to identify the event
received \n");
mnstr_printf(ACout, "--active run as a active listener \n");
mnstr_printf(ACout, "--passive run as a passive listener (default)\n");
@@ -150,7 +149,6 @@ static int events = -1;
static int tuples = 0;
/*
- * @-
* The statistics are shown after a fixed number of tuples
* have been received.Align this number with the batches
* generated by the sensor and you get a good impression
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list