ISocketStream¶
-
class ISocketStream¶
Bases:
istream,SSReaderThis is a base class for istreams implemented in Acron 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
digraph inheritancec7a2669be4 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ISocketStream" [URL="acron.core.ISocketStream.html#acron.core.ISocketStream",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "istream" -> "ISocketStream" [arrowsize=0.75,style=""]; "SSReader" -> "ISocketStream" [arrowsize=0.75,style=""]; "SSReader" [URL="acron.core.SSReader.html#acron.core.SSReader",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "SSReader" [arrowsize=0.75,style=""]; "basic_ios_char" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ios_base" -> "basic_ios_char" [arrowsize=0.75,style=""]; "ios_base" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",tooltip="// We need to expose one method in each class to force it to publish."]; "DTOOL_SUPER_BASE" -> "ios_base" [arrowsize=0.75,style=""]; "istream" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "basic_ios_char" -> "istream" [arrowsize=0.75,style=""]; }-
enum ReadState¶
-
enumerator RS_initial = 0¶
-
enumerator RS_reading = 1¶
-
enumerator RS_complete = 2¶
-
enumerator RS_error = 3¶
-
enumerator RS_initial = 0¶
- ISocketStream.close()¶
- ISocketStream.get_read_state()¶
- ISocketStream.is_closed()¶
-
enum ReadState¶