This is a base class for istreams implemented in Panda that read from a (possibly non-blocking) socket. More...
Public Types | |
enum | ReadState { RSInitial = 0, RSReading = 1, RSComplete = 2, RSError = 3 } |
Public Member Functions | |
close () | |
ReadState | getReadState () |
bool | isClosed () |
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.
enum ReadState |