direct.distributed.NetMessenger¶
from direct.distributed.NetMessenger import NetMessenger
Inheritance diagram
-
class
NetMessenger
(air, channels)[source]¶ Bases:
direct.showbase.Messenger.Messenger
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).
-
__init__
(self, air, channels)[source]¶ air is the AI Repository. channels is a list of channel IDs (uint32 values)
-
handle
(self, pickleData)[source]¶ Send pickleData from the net on the local netMessenger. The internal data in pickleData should have a tuple of (messageString, sendArgsList).
-
notify
= <direct.directnotify.Notifier.Notifier object>¶
-