# DoInterestManager

from direct.distributed.DoInterestManager import DoInterestManager

Top level Interest Manager

## Inheritance:

DoInterestManager:

## Methods of DoInterestManager:

__init__
_considerRemoveInterest
_getAddInterestEvent
_getAnonymousEvent
_getInterestState
_getNextHandle
_getNextScopeId
_getRemoveInterestEvent
_sendAddInterest
_sendRemoveInterest
addInterest
alterInterest
closeAutoInterests
getAllInterestsCompleteEvent
handleInterestDoneMessage
noNewInterests
openAutoInterests
removeInterest
setNoNewInterests

__init__ def __init__(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.

_getNextHandle def _getNextHandle(self) Undocumented function.

_getNextScopeId def _getNextScopeId(self) Undocumented function.

_getRemoveInterestEvent def _getRemoveInterestEvent(self) Undocumented function.

_sendAddInterest def _sendAddInterest(self, handle, scopeId, 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, scopeId) 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.

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

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)

setNoNewInterests def setNoNewInterests(self, flag) Undocumented function.