From 221d61f9ffc85287f504e622fe65203f3e3a2b3a Mon Sep 17 00:00:00 2001
From: John Romein <romein@astron.nl>
Date: Thu, 14 Dec 2006 14:37:48 +0000
Subject: [PATCH] BugID: 225 Use BGL_Connection to achieve higher bandwidth.

---
 Appl/CEP/CS1/CS1_Interface/src/Stub_BGL.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Appl/CEP/CS1/CS1_Interface/src/Stub_BGL.cc b/Appl/CEP/CS1/CS1_Interface/src/Stub_BGL.cc
index 8531456d4a0..b4cc6b262fc 100644
--- a/Appl/CEP/CS1/CS1_Interface/src/Stub_BGL.cc
+++ b/Appl/CEP/CS1/CS1_Interface/src/Stub_BGL.cc
@@ -22,7 +22,7 @@
 
 #include <CS1_Interface/Stub_BGL.h>
 #include <Transport/TH_Socket.h>
-#include <Transport/Connection.h>
+#include <Transport/BGLConnection.h>
 
 
 namespace LOFAR { 
@@ -84,10 +84,10 @@ void Stub_BGL::connect(unsigned cellNr, unsigned nodeNr, TinyDataManager &dm, un
   itsTHs[index] = itsIAmOnBGL ? newClientTH(cellNr, nodeNr) : newServerTH(cellNr, nodeNr);
 
   if (itsIsInput) {
-    itsConnections[index] = new Connection("output", 0, dm.getGeneralInHolder(channel), itsTHs[index], true);
+    itsConnections[index] = new BGLConnection("output", 0, dm.getGeneralInHolder(channel), itsTHs[index]);
     dm.setInConnection(channel, itsConnections[index]);
   } else {
-    itsConnections[index] = new Connection("input", dm.getGeneralOutHolder(channel), 0, itsTHs[index], true);
+    itsConnections[index] = new BGLConnection("input", dm.getGeneralOutHolder(channel), 0, itsTHs[index]);
     dm.setOutConnection(channel, itsConnections[index]);
   }
 };
-- 
GitLab