ISocketStream¶
from panda3d.core import ISocketStream
-
class
ISocketStream
¶ -
This is a base class for istreams implemented in Panda that read from a (possibly non-blocking) socket. It adds
isClosed()
, 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
-
getReadState
() → ReadState¶
-
enum