# DoInterestManager

from direct.distributed.DoInterestManager import DoInterestManager

Top level Interest Manager

## Inheritance:

DoInterestManager:

## Methods of DoInterestManager:

__init__
__verbose
_considerRemoveInterest
_getAddInterestEvent
_getAnonymousEvent
_getInterestState
_getNextContextId
_getNextHandle
_getRemoveInterestEvent
_sendAddInterest
_sendRemoveInterest
addInterest
alterInterest
cleanupWaitAllInterestsClosed
closeAutoInterests
getAllInterestsCompleteEvent
handleInterestDoneMessage
isValidInterestHandle
noNewInterests
openAutoInterests
removeInterest
resetInterestStateForConnectionLoss
setAllInterestsCompleteCallback
setNoNewInterests
updateInterestDescription

__init__ def __init__(self) Undocumented function.

__verbose def __verbose(self) Undocumented function.

_considerRemoveInterest def _considerRemoveInterest(self, handle) Consider whether we should cull the interest set.

_getAddInterestEvent def _getAddInterestEvent(self) Undocumented function.

_getAnonymousEvent def _getAnonymousEvent(self, desc) Undocumented function.

_getInterestState def _getInterestState(self, handle) Undocumented function.

_getNextContextId def _getNextContextId(self) Undocumented function.

_getNextHandle def _getNextHandle(self) Undocumented function.

_getRemoveInterestEvent def _getRemoveInterestEvent(self) Undocumented function.

_sendAddInterest def _sendAddInterest(self, handle, contextId, parentId, zoneIdList, description, action=None) Part of the new otp-server code. handle is a client-side created number that refers to a set of interests. The same handle number doesn't necessarily have any relationship to the same handle on another client.

_sendRemoveInterest def _sendRemoveInterest(self, handle, contextId) handle is a client-side created number that refers to a set of interests. The same handle number doesn't necessarily have any relationship to the same handle on another client.

addInterest def addInterest(self, parentId, zoneIdList, description, event=None, auto=False) Look into a (set of) zone(s).

alterInterest def alterInterest(self, handle, parentId, zoneIdList, description=None, event=None) Removes old interests and adds new interests. Note that when an interest is changed, only the most recent change's event will be triggered. Previous events are abandoned. If this is a problem, consider opening multiple interests.

cleanupWaitAllInterestsClosed def cleanupWaitAllInterestsClosed(self) Undocumented function.

closeAutoInterests def closeAutoInterests(self, obj) Undocumented function.

getAllInterestsCompleteEvent def getAllInterestsCompleteEvent(self) Undocumented function.

handleInterestDoneMessage def handleInterestDoneMessage(self, di) This handles the interest done messages and may dispatch an event

isValidInterestHandle def isValidInterestHandle(self, handle) Undocumented function.

noNewInterests def noNewInterests(self) Undocumented function.

openAutoInterests def openAutoInterests(self, obj) Undocumented function.

removeInterest def removeInterest(self, handle, event=None, auto=False) Stop looking in a (set of) zone(s)

resetInterestStateForConnectionLoss def resetInterestStateForConnectionLoss(self) Undocumented function.

setAllInterestsCompleteCallback def setAllInterestsCompleteCallback(self, callback) Undocumented function.

setNoNewInterests def setNoNewInterests(self, flag) Undocumented function.

updateInterestDescription def updateInterestDescription(self, handle, desc) Undocumented function.