ISocketStream
-
class ISocketStream
-
This is a base class for istreams implemented in Panda that read from a (possibly non-blocking) socket. It adds
is_closed()
, which can be called after an eof condition to check whether the socket has been closed, or whether more data may be available later.Inheritance diagram
-
enum ReadState
-
enumerator RS_initial = 0
-
enumerator RS_reading = 1
-
enumerator RS_complete = 2
-
enumerator RS_error = 3
-
enumerator RS_initial = 0
-
virtual void close(void) = 0
-
virtual bool is_closed(void) = 0
-
enum ReadState