MmResponder that implements a switch handling the framework-provided MmMethods.
More...
|
override void | MmInvoke (MmMessageType msgType, MmMessage message) |
| Invoke an MmMethod. Implements a switch that handles the different MmMethods defined by default set in MmMethod MmMethod More...
|
|
virtual void | SetActive (bool active) |
| Handle MmMethod: SetActive More...
|
|
virtual void | Initialize () |
| Handle MmMethod: Initialize Initialize allows you to provide additional initialization logic in-between calls to Monobehavior provided Awake() and Start() calls. More...
|
|
virtual void | Refresh (List< MmTransform > transformList) |
| Handle MmMethod: Refresh More...
|
|
override MmRelayNode | GetRelayNode () |
| Implementation of IMmResponder's GetRelayNode. More...
|
|
virtual void | Awake () |
| Awake: Invokes MmOnAwakeComplete More...
|
|
virtual void | Start () |
| Start: Invokes MmOnStartComplete More...
|
|
virtual void | Update () |
| Base Update of MmResponder Derived classes should always override. More...
|
|
virtual void | MmOnAwakeComplete () |
| Post Awake callback used between objects implementing this interface. This allows for initialization steps that must occur before one instance's Awake and its Start. More...
|
|
virtual void | MmOnStartComplete () |
| Post Start callback used between objects implementing this interface This allows for initialization steps that must occur before one instance's Start and its first Update. More...
|
|
virtual void | MmRegisterAwakeCompleteCallback (IMmCallback callback) |
| It is possible that certain handles are not going to be in-place when registration of the OnAwakeComplete callback is invoked. The is especially true in scenarios where MmRelayNodes are networked. This allows for a deferred registration, eliminating most instances where the Awake callback invocations fail. More...
|
|
virtual void | MmRegisterStartCompleteCallback (IMmCallback callback) |
| It is possible that certain handles are not going to be in-place when registration of the OnStartComplete callback is invoked. The is especially true in scenarios where MmRelayNodes are networked. This allows for a deferred registration, eliminating most instances where the Start callback invocations fail. More...
|
|
MmResponder that implements a switch handling the framework-provided MmMethods.
◆ ApplyTaskInfo()
virtual void MercuryMessaging.MmBaseResponder.ApplyTaskInfo |
( |
IMmSerializable |
serializableValue | ) |
|
|
protectedvirtual |
Handle MmMethod: TaskInfo Given a IMmSerializable, extract TaskInfo.
- Parameters
-
serializableValue | Serializable class containing MmTask Info |
◆ Complete()
virtual void MercuryMessaging.MmBaseResponder.Complete |
( |
bool |
active | ) |
|
|
protectedvirtual |
Handle MmMethod: Switch
- Parameters
-
active | Can be used to indicate active state of object that triggered complete message |
◆ GetRelayNode()
override MmRelayNode MercuryMessaging.MmBaseResponder.GetRelayNode |
( |
| ) |
|
|
virtual |
◆ Initialize()
virtual void MercuryMessaging.MmBaseResponder.Initialize |
( |
| ) |
|
|
virtual |
◆ MmInvoke()
Invoke an MmMethod. Implements a switch that handles the different MmMethods defined by default set in MmMethod MmMethod
- Parameters
-
msgType | Type of message. This specifies the type of the payload. This is important in networked scenarios, when proper deseriaization into the correct type requires knowing what was used to serialize the object originally. MmMessageType |
message | The message to send. This class builds on UNET's MessageBase so it is Auto [de]serialized by UNET. MmMessage |
Reimplemented from MercuryMessaging.MmResponder.
Reimplemented in InvocationComparison.
◆ ReceivedMessage() [1/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessage |
message | ) |
|
|
protectedvirtual |
Handle MmMethod: Base MmMessage. Override this to handle base Mercury Messages.
- Parameters
-
◆ ReceivedMessage() [2/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessageBool |
message | ) |
|
|
protectedvirtual |
Handle MmMethod: MessageBool. Override this to handle Mercury's bool messages.
- Parameters
-
◆ ReceivedMessage() [3/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessageByteArray |
message | ) |
|
|
protectedvirtual |
Handle MmMethod: MessageByteArray. Override this to handle Mercury's byte array messages.
- Parameters
-
◆ ReceivedMessage() [4/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessageFloat |
message | ) |
|
|
protectedvirtual |
Handle MmMethod: MessageFloat. Override this to handle Mercury's float messages.
- Parameters
-
◆ ReceivedMessage() [5/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessageInt |
message | ) |
|
|
protectedvirtual |
Handle MmMethod: MessageInt. Override this to handle Mercury's int messages.
- Parameters
-
◆ ReceivedMessage() [6/11]
Handle MmMethod: MessageSerializable. Override this to handle Mercury's serializable messages.
- Parameters
-
◆ ReceivedMessage() [7/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessageString |
message | ) |
|
|
protectedvirtual |
◆ ReceivedMessage() [8/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessageTransform |
message | ) |
|
|
protectedvirtual |
◆ ReceivedMessage() [9/11]
Handle MmMethod: MessageTransformList Override this to handle Mercury's transform list messages.
- Parameters
-
◆ ReceivedMessage() [10/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessageVector3 |
message | ) |
|
|
protectedvirtual |
Handle MmMethod: MessageVector3 Override this to handle Mercury's Vector3 messages.
- Parameters
-
◆ ReceivedMessage() [11/11]
virtual void MercuryMessaging.MmBaseResponder.ReceivedMessage |
( |
MmMessageVector4 |
message | ) |
|
|
protectedvirtual |
Handle MmMethod: MessageVector4 Override this to handle Mercury's Vector4 messages.
- Parameters
-
◆ Refresh()
virtual void MercuryMessaging.MmBaseResponder.Refresh |
( |
List< MmTransform > |
transformList | ) |
|
|
virtual |
Handle MmMethod: Refresh
- Parameters
-
transformList | List of transforms needed in refreshing an MmResponder. |
◆ SetActive()
virtual void MercuryMessaging.MmBaseResponder.SetActive |
( |
bool |
active | ) |
|
|
virtual |
◆ Switch()
virtual void MercuryMessaging.MmBaseResponder.Switch |
( |
string |
iName | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file:
- C:/Users/ce223/Documents/Projects/MercuryMessaging/Assets/MercuryMessaging/Protocol/MmBaseResponder.cs