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 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
- RSComplete = 2
- RSError = 3
- RSInitial = 0
- RSReading = 1
- RS_complete = 2
- RS_error = 3
- RS_initial = 0
- RS_reading = 1
- __init__(*args, **kwargs)
- close()
C++ Interface: close(const ISocketStream self)
- getReadState()
C++ Interface: get_read_state(const ISocketStream self)
- get_read_state()
C++ Interface: get_read_state(const ISocketStream self)
- isClosed()
C++ Interface: is_closed(const ISocketStream self)
- is_closed()
C++ Interface: is_closed(const ISocketStream self)
- upcastToIstream()
C++ Interface: upcast_to_istream(const ISocketStream self)
upcast from ISocketStream to istream
- upcastToSSReader()
C++ Interface: upcast_to_SSReader(const ISocketStream self)
upcast from ISocketStream to SSReader
- upcast_to_SSReader()
C++ Interface: upcast_to_SSReader(const ISocketStream self)
upcast from ISocketStream to SSReader
- upcast_to_istream()
C++ Interface: upcast_to_istream(const ISocketStream self)
upcast from ISocketStream to istream