Buffered_DatagramConnection

from panda3d.net import Buffered_DatagramConnection
class Buffered_DatagramConnection

Bases: Socket_TCP

there 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

Inheritance diagram of Buffered_DatagramConnection

AddAddress()

C++ Interface: AddAddress(const Buffered_DatagramConnection self, Socket_Address inadr)

/**
  • must be called to set value to the server

*/

AddressQueueSize()

C++ Interface: AddressQueueSize(const Buffered_DatagramConnection self)

// address queue stuff

ClearAddresses()

C++ Interface: ClearAddresses(const Buffered_DatagramConnection self)

DoConnect()

C++ Interface: DoConnect(const Buffered_DatagramConnection self)

// all the real state magic is in here

Flush()

C++ Interface: Flush(const Buffered_DatagramConnection self)

/**
  • Flush all writes.

*/

GetMessage()

C++ Interface: GetMessage(const Buffered_DatagramConnection self, Datagram val)

/**
  • Reads a message. Returns false on failure.

*/

IsConnected()

C++ Interface: IsConnected(const Buffered_DatagramConnection self)

// all the real state magic is in here

Reset()

C++ Interface: Reset(const Buffered_DatagramConnection self)

/**
  • Reset

*/

SendMessage()

C++ Interface: SendMessage(const Buffered_DatagramConnection self, const Datagram msg)

// the reason thsi all exists

/**
  • send the message

*/

WaitForNetworkReadEvent()

C++ Interface: WaitForNetworkReadEvent(const Buffered_DatagramConnection self, float MaxTime)

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

get_class_type()

C++ Interface: get_class_type()