summaryrefslogtreecommitdiff
path: root/comm/MsgStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'comm/MsgStream.h')
-rw-r--r--comm/MsgStream.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/comm/MsgStream.h b/comm/MsgStream.h
index c2b8e1f..bfa8e78 100644
--- a/comm/MsgStream.h
+++ b/comm/MsgStream.h
@@ -41,11 +41,11 @@ enum TYPE { MSG = 1, ASK, ANS, SYNC, ASYNC, OK };
void ProcessInput (UchMsgBuffer&, bool);
int ReadInput ();
+
public:
- UchMsgStream ();
- UchMsgStream (const UchMsgStream&);
- UchMsgStream (UchAddress*, UchAddress*);
- ~UchMsgStream ();
+ UchMsgStream (const UchMsgStream&);
+ UchMsgStream (UchAddress* = 0, UchAddress* = 0);
+ ~UchMsgStream ();
void InputBuffer (int min, int grow, int max);
void OutputBuffer (int min, int grow, int max);
@@ -57,10 +57,10 @@ inline void FlushSize (int n) { OutSize = n; }
inline bool GetSyncMode () { return Sync; }
inline void SetSyncMode (bool s) { Sync = s; Flush (); }
virtual bool NewMessage (UchMsgBuffer&, bool);
-virtual void* ConvertAnswer (UchMsgBuffer&);
+virtual UchMessage* ConvertAnswer (UchMsgBuffer&);
virtual void Delete ();
void Send (UchMessage&, bool = FALSE);
- void* Ask (UchMessage&);
+ UchMessage* Ask (UchMessage&);
void Reply (UchMessage&);
void Flush ();
void Send (UchMsgBuffer&, bool = FALSE);