direct.distributed.ConnectionRepository

from direct.distributed.ConnectionRepository import ConnectionRepository, GCTrigger

Inheritance diagram

digraph inheritance66845351b7 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "CConnectionRepository" [URL="acron.direct.CConnectionRepository.html#acron.direct.CConnectionRepository",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" -> "CConnectionRepository" [arrowsize=0.75,style=""]; "ConnectionRepository" [URL="direct.distributed.ConnectionRepository.html#direct.distributed.ConnectionRepository.ConnectionRepository",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is a base class for things that know how to establish a"]; "DoInterestManager" -> "ConnectionRepository" [arrowsize=0.75,style=""]; "DoCollectionManager" -> "ConnectionRepository" [arrowsize=0.75,style=""]; "CConnectionRepository" -> "ConnectionRepository" [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=""]; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "DoCollectionManager" [URL="direct.distributed.DoCollectionManager.html#direct.distributed.DoCollectionManager.DoCollectionManager",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "DoInterestManager" [URL="direct.distributed.DoInterestManager.html#direct.distributed.DoInterestManager.DoInterestManager",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Top level Interest Manager"]; "DirectObject" -> "DoInterestManager" [arrowsize=0.75,style=""]; "GCTrigger" [URL="direct.distributed.ConnectionRepository.html#direct.distributed.ConnectionRepository.GCTrigger",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; }
class ConnectionRepository(connectMethod, config, hasOwnerView=False, threadedNet=None)[source]

Bases: DoInterestManager, DoCollectionManager, CConnectionRepository

This is a base class for things that know how to establish a connection (and exchange datagrams) with a gameserver. This includes ClientRepository and AIRepository.

CM_HTTP = 0
CM_NATIVE = 2
CM_NET = 1
GarbageCollectTaskName = 'allowGarbageCollect'
GarbageThresholdTaskName = 'adjustGarbageCollectThreshold'
gcNotify = <direct.directnotify.Notifier.Notifier object>
notify = <direct.directnotify.Notifier.Notifier object>
taskChain = None
taskPriority = -30
class GCTrigger[source]

Bases: object