OSocketStream
from panda3d.core import OSocketStream
- class OSocketStream
-
A base class for ostreams that write to a (possibly non-blocking) socket. It adds is_closed(), which can be called after any write operation fails to check whether the socket has been closed, or whether more data may be sent later.
Inheritance diagram
- __init__(*args, **kwargs)
- close()
C++ Interface: close(const OSocketStream self)
- flush()
C++ Interface: flush(const OSocketStream self)
- /**
Sends the most recently queued data now. This only has meaning if
set_collect_tcp() has been set to true.
*/
- isClosed()
C++ Interface: is_closed(const OSocketStream self)
- is_closed()
C++ Interface: is_closed(const OSocketStream self)
- upcastToOstream()
C++ Interface: upcast_to_ostream(const OSocketStream self)
upcast from OSocketStream to ostream
- upcastToSSWriter()
C++ Interface: upcast_to_SSWriter(const OSocketStream self)
upcast from OSocketStream to SSWriter
- upcast_to_SSWriter()
C++ Interface: upcast_to_SSWriter(const OSocketStream self)
upcast from OSocketStream to SSWriter
- upcast_to_ostream()
C++ Interface: upcast_to_ostream(const OSocketStream self)
upcast from OSocketStream to ostream