diff options
author | chatty | 1994-05-10 10:00:48 +0000 |
---|---|---|
committer | chatty | 1994-05-10 10:00:48 +0000 |
commit | 9c33028df8c410427dae556163a1668b26d8d02c (patch) | |
tree | 5c0864f63db8cdb1b82d51220dd8b93e9cf7d58a | |
parent | 66bbcfce2bb9265505f2046ea89a1b33a4a1c212 (diff) | |
download | ivy-league-9c33028df8c410427dae556163a1668b26d8d02c.zip ivy-league-9c33028df8c410427dae556163a1668b26d8d02c.tar.gz ivy-league-9c33028df8c410427dae556163a1668b26d8d02c.tar.bz2 ivy-league-9c33028df8c410427dae556163a1668b26d8d02c.tar.xz |
MsgBuffer -> IOS
-rw-r--r-- | comm/OLD/PortServerReq.cc | 11 |
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; } |