summaryrefslogtreecommitdiff
path: root/comm/MsgStream.h
diff options
context:
space:
mode:
authorsc2000-11-28 17:07:47 +0000
committersc2000-11-28 17:07:47 +0000
commitee937667fd0ecd82faab4c88d756b906fb625f1a (patch)
tree19e679318b5cb87e8be1a05a7bbc9ba5568d0814 /comm/MsgStream.h
parent1326b11d65f7020f5f6c691305d2c090b064bd04 (diff)
downloadivy-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/MsgStream.h')
-rw-r--r--comm/MsgStream.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/comm/MsgStream.h b/comm/MsgStream.h
index 7660ae8..d3e613e 100644
--- a/comm/MsgStream.h
+++ b/comm/MsgStream.h
@@ -16,35 +16,35 @@
#define MsgStream_H_
#include "BufStream.h"
-class UchMessage;
+class IvlMessage;
-class UchMsgStream : public UchBufStream {
+class IvlMsgStream : public IvlBufStream {
protected:
enum STATE { WAITING, GOT_TYPE, GOT_LENGTH, DONE};
enum TYPE { MSG = 1, ASK, ANS, SYNC, ASYNC, OK };
STATE State;
bool BufferedMessages;
- UchMsgBuffer Buffered;
+ IvlMsgBuffer Buffered;
bool WaitingReply;
int InLength;
byte InType;
- UchMessage* Process (UchMsgBuffer&, bool);
- UchMsgStream (const UchMsgStream&);
- void WriteMsg (UchMessage&);
- bool ReadMsg (UchMessage&);
+ IvlMessage* Process (IvlMsgBuffer&, bool);
+ IvlMsgStream (const IvlMsgStream&);
+ void WriteMsg (IvlMessage&);
+ bool ReadMsg (IvlMessage&);
public:
- UchMsgStream (UchAddress* = 0, UchAddress* = 0);
- ~UchMsgStream ();
+ IvlMsgStream (IvlAddress* = 0, IvlAddress* = 0);
+ ~IvlMsgStream ();
void HandleRead ();
-virtual UchMessage* DecodeMessage (UchMsgBuffer&);
-virtual UchMessage* DecodeAnswer (UchMsgBuffer&);
- void Send (UchMessage&, bool = false);
- UchMessage* Ask (UchMessage&);
- void Reply (UchMessage&);
- void Send (UchMsgBuffer&, bool = false);
+virtual IvlMessage* DecodeMessage (IvlMsgBuffer&);
+virtual IvlMessage* DecodeAnswer (IvlMsgBuffer&);
+ void Send (IvlMessage&, bool = false);
+ IvlMessage* Ask (IvlMessage&);
+ void Reply (IvlMessage&);
+ void Send (IvlMsgBuffer&, bool = false);
};
#endif /* MsgStream_H_ */