Buffered_DatagramConnection¶
from acron.net import Buffered_DatagramConnection
- class Buffered_DatagramConnection¶
Bases:
Bases:
Socket_TCPthere are 3 states 1. Socket not even assigned,,,, 2. Socket Assigned and trying to get a active connect open 3. Socket is open and writable.. ( Fully powered up )…
Inheritance diagram
digraph inheritance32a5047051 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "Buffered_DatagramConnection" [URL="acron.net.Buffered_DatagramConnection.html#acron.net.Buffered_DatagramConnection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="// there are 3 states 1. Socket not even assigned,,,, 2. Socket Assigned and"]; "Socket_TCP" -> "Buffered_DatagramConnection" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "Socket_IP" [URL="acron.net.Socket_IP.html#acron.net.Socket_IP",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "Socket_IP" [arrowsize=0.75,style=""]; "Socket_TCP" [URL="acron.net.Socket_TCP.html#acron.net.Socket_TCP",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "Socket_IP" -> "Socket_TCP" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",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" -> "TypedObject" [arrowsize=0.75,style=""]; }- AddAddress()¶
must be called to set value to the server
- AddressQueueSize()¶
address queue stuff
- ClearAddresses()¶
- DoConnect()¶
all the real state magic is in here
- Flush()¶
Flush all writes.
- GetMessage()¶
Reads a message. Returns false on failure.
- IsConnected()¶
all the real state magic is in here
- Reset()¶
Reset
- SendMessage()¶
the reason thsi all exists
send the message
- WaitForNetworkReadEvent()¶
- __init__()¶
- static get_class_type()¶