diff options
author | sc | 2000-11-28 17:07:47 +0000 |
---|---|---|
committer | sc | 2000-11-28 17:07:47 +0000 |
commit | ee937667fd0ecd82faab4c88d756b906fb625f1a (patch) | |
tree | 19e679318b5cb87e8be1a05a7bbc9ba5568d0814 /comm/Stream.cc | |
parent | 1326b11d65f7020f5f6c691305d2c090b064bd04 (diff) | |
download | ivy-league-ee937667fd0ecd82faab4c88d756b906fb625f1a.zip ivy-league-ee937667fd0ecd82faab4c88d756b906fb625f1a.tar.gz ivy-league-ee937667fd0ecd82faab4c88d756b906fb625f1a.tar.bz2 ivy-league-ee937667fd0ecd82faab4c88d756b906fb625f1a.tar.xz |
Integration into IvyLeague
Uvh -> Ivl
Multiplexer.* is renamed into Scheduler.*
A few name conflicts in the merger with ex-DNN have been solved
Imakefile is replaced by Makefile
Created InetAddress.* and UnixAddress.* from Address.*
Created IrdaAddress.*
OLD/TextStream has been updated
Diffstat (limited to 'comm/Stream.cc')
-rw-r--r-- | comm/Stream.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/comm/Stream.cc b/comm/Stream.cc index 16f6bc7..02682ad 100644 --- a/comm/Stream.cc +++ b/comm/Stream.cc @@ -22,9 +22,9 @@ extern "C" { } #endif -/*?class UchStream +/*?class IvlStream Streams implement reliable point to point connections. -UchStream connections do not keep the message boundaries: +IvlStream connections do not keep the message boundaries: several messages can be read at a time, and a message can be read in several parts. Establishing a stream connection is not a symmetric operation: @@ -38,40 +38,40 @@ Because a server has to listen to pending connections and communicate with its connected clients, using a channel set is highly recommended: when a connection is pending, the channel is ready for reading, and you can accept the connection with \fun{SockAccept} (instead of reading data). -Note that because \typ{UchStream} derives from \typ{UchSocket} -and thus from \typ{UchChannel}, the virtual functions +Note that because \typ{IvlStream} derives from \typ{IvlSocket} +and thus from \typ{IvlChannel}, the virtual functions \fun{HandleRead} and \fun{HandeWrite} can be used. ?*/ /*? -This constructor is similar to that of the class \typ{UchSocket}. +This constructor is similar to that of the class \typ{IvlSocket}. ?*/ -UchStream :: UchStream (UchAddress* bound, UchAddress* connected) -: UchSocket (bound, connected) +IvlStream :: IvlStream (IvlAddress* bound, IvlAddress* connected) +: IvlSocket (bound, connected) { } /*?nodoc?*/ -UchStream :: UchStream (const UchStream& s) -: UchSocket (s) +IvlStream :: IvlStream (const IvlStream& s) +: IvlSocket (s) { } /*?nodoc?*/ -UchStream :: ~UchStream () +IvlStream :: ~IvlStream () { } /*?nodoc?*/ -UchChannel* -UchStream :: Copy () const +IvlChannel* +IvlStream :: Copy () const { - return new UchStream (*this); + return new IvlStream (*this); } /*?nodoc?*/ int -UchStream :: SockType () +IvlStream :: SockType () { return SOCK_STREAM; } @@ -88,7 +88,7 @@ The returned value is that of the system call, unless the set up failed in which Note that it is useless to listen on a socket if it is not bound to an address. ?*/ int -UchStream :: Listen (int n) +IvlStream :: Listen (int n) { if (! Setup ()) return -1; |