Panda3D
|
Inherits direct::showbase::Messenger::Messenger.
Public Member Functions | |
def | __init__ |
def | clear |
def | handle |
def | send |
Public Attributes | |
air | |
channels | |
Static Public Attributes | |
tuple | notify = DirectNotifyGlobal.directNotify.newCategory('NetMessenger') |
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 | ) |
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.
tuple notify = DirectNotifyGlobal.directNotify.newCategory('NetMessenger') [static] |