Panda3D
|
Public Member Functions | |
def | __init__ (self, air, channels) |
def | clear (self) |
def | handle (self, pickleData) |
def | send (self, message, sentArgs=[]) |
![]() | |
def | __init__ (self) |
def | __repr__ (self) |
def | accept (self, event, object, method, extraArgs=[], persistent=1) |
def | detailedRepr (self) |
def | find (self, needle) |
def | findAll (self, needle, limit=None) |
def | future (self, event) |
def | getAllAccepting (self, object) |
def | getEvents (self) |
def | ignore (self, event, object) |
def | ignoreAll (self, object) |
def | isAccepting (self, event, object) |
def | isEmpty (self) |
def | isIgnoring (self, event, object) |
def | quiet (self, message) |
def | replaceMethod (self, oldMethod, newFunction) |
def | send (self, event, sentArgs=[], taskChain=None) |
def | toggleVerbose (self) |
def | unquiet (self, message) |
def | unwatch (self, needle) |
def | watch (self, needle) |
def | whoAccepts (self, event) |
Public Attributes | |
air | |
channels | |
![]() | |
lock | |
quieting | |
Static Public Attributes | |
notify = DirectNotifyGlobal.directNotify.newCategory('NetMessenger') | |
![]() | |
def | detailed_repr = detailedRepr |
def | find_all = findAll |
def | get_all_accepting = getAllAccepting |
def | get_events = getEvents |
def | ignore_all = ignoreAll |
def | is_accepting = isAccepting |
def | is_empty = isEmpty |
def | is_ignoring = isIgnoring |
notify = DirectNotifyGlobal.directNotify.newCategory("Messenger") | |
def | replace_method = replaceMethod |
def | toggle_verbose = toggleVerbose |
def | who_accepts = whoAccepts |
This works very much like the Messenger class except that messages are sent over the network and (possibly) handled (accepted) on a remote machine (server).
def __init__ | ( | self, | |
air, | |||
channels | |||
) |
air is the AI Repository. channels is a list of channel IDs (uint32 values)
def clear | ( | self | ) |
Start fresh with a clear dict
Reimplemented from Messenger.
def handle | ( | self, | |
pickleData | |||
) |
Send pickleData from the net on the local netMessenger. The internal data in pickleData should have a tuple of (messageString, sendArgsList).
def send | ( | self, | |
message, | |||
sentArgs = [] |
|||
) |
Send message to All AI and Uber Dog servers.
air |
channels |
|
static |