summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comm/OLD/PortServerReq.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/comm/OLD/PortServerReq.cc b/comm/OLD/PortServerReq.cc
index 5628408..339bb32 100644
--- a/comm/OLD/PortServerReq.cc
+++ b/comm/OLD/PortServerReq.cc
@@ -13,6 +13,7 @@
*/
#include "PortServerReq.h"
+#include "Channel.h"
UchPortServerReq :: UchPortServerReq ()
: UchMessage (),
@@ -47,14 +48,14 @@ UchPortServerReq :: ~UchPortServerReq ()
}
void
-UchPortServerReq :: ReadFrom (UchMsgBuffer& b, lword)
+UchPortServerReq :: ReadFrom (UchIOS& b, lword)
{
- b >> Type >> Host >> Port >> Ident;
- Key = b.BufLength () ? (const char*) b.Buffer () : 0;
+ b >> Type >> Host >> Port >> Ident >> Key;
+// Key = b.BufLength () ? (const char*) b.Buffer () : 0;
}
void
-UchPortServerReq :: WriteTo (UchMsgBuffer& b)
+UchPortServerReq :: WriteTo (UchIOS& b)
{
- b << Type << Host << Port << Ident << (char*) Key;
+ b << Type << Host << Port << Ident << Key;
}