![]() |
Mercury Messaging
Documentation for the Mercury Messaging Framework
|
A object that interacts with the UNET networking environment More...
Public Member Functions | |
| virtual void | Awake () |
| Invoke MmAwake on listeners. More... | |
| virtual void | Start () |
| Attempt to register handlers to client/server objects Invokes MmStart on listeners. More... | |
| void | RegisterMmNetworkResponder (MmNetworkResponder responder) |
| Register all MmResponders that can receive messages. More... | |
| void | RemoveMmNetworkResponder (MmNetworkResponder responder) |
| Removes a particular relay node from the dictionary of supported nodes. More... | |
| virtual void | ReceivedMessage (NetworkMessage netMsg) |
| Process a message and send it to the associated object. More... | |
Public Attributes | |
| NetworkClient | NetworkClient |
| Handle to the network client, if one preent More... | |
| Dictionary< uint, MmRelayNode > | MmRelayNodes = new Dictionary<uint, MmRelayNode> () |
| Associated MmRelayNodes. Each MmNetworkResponder will attempt to register itself to this list. This allows for the system to optimize listening so that not every node attempts to handle a message More... | |
Properties | |
| static MmNetworkManager | Instance [get] |
| Accessor for the the instance of the network manager instance. More... | |
Events | |
| IMmCallback | MmAwake |
| Callback for this object's Awake method. More... | |
| IMmCallback | MmStart |
| Callback for this object's Start method. More... | |
A object that interacts with the UNET networking environment
|
virtual |
Invoke MmAwake on listeners.
|
virtual |
Process a message and send it to the associated object.
| netMsg | UNET network message |
| void MercuryMessaging.MmNetworkManager.RegisterMmNetworkResponder | ( | MmNetworkResponder | responder | ) |
Register all MmResponders that can receive messages.
| responder |
| void MercuryMessaging.MmNetworkManager.RemoveMmNetworkResponder | ( | MmNetworkResponder | responder | ) |
Removes a particular relay node from the dictionary of supported nodes.
|
virtual |
Attempt to register handlers to client/server objects Invokes MmStart on listeners.
| Dictionary<uint, MmRelayNode> MercuryMessaging.MmNetworkManager.MmRelayNodes = new Dictionary<uint, MmRelayNode> () |
Associated MmRelayNodes. Each MmNetworkResponder will attempt to register itself to this list. This allows for the system to optimize listening so that not every node attempts to handle a message
| NetworkClient MercuryMessaging.MmNetworkManager.NetworkClient |
Handle to the network client, if one preent
|
staticget |
Accessor for the the instance of the network manager instance.
| IMmCallback MercuryMessaging.MmNetworkManager.MmAwake |
Callback for this object's Awake method.
| IMmCallback MercuryMessaging.MmNetworkManager.MmStart |
Callback for this object's Start method.