![]() |
Mercury Messaging
Documentation for the Mercury Messaging Framework
|
Defines methods required by an MmResponder & utility methods making invocation MmMethods with built-in MmMessages easier. More...
Public Member Functions | |
void | MmInvoke (MmMessageType msgType, MmMessage message) |
Invoke an MmMethod. More... | |
void | MmInvoke (MmMethod mmMethod, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with no parameter. More... | |
void | MmInvoke (MmMethod mmMethod, int param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: int. More... | |
void | MmInvoke (MmMethod mmMethod, Vector3 param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: Vector3. More... | |
void | MmInvoke (MmMethod mmMethod, Vector4 param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: Vector4. More... | |
void | MmInvoke (MmMethod mmMethod, string param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: string. More... | |
void | MmInvoke (MmMethod mmMethod, float param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: float. More... | |
void | MmInvoke (MmMethod mmMethod, byte[] param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: byte array. More... | |
void | MmInvoke (MmMethod mmMethod, bool param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: bool. More... | |
void | MmInvoke (MmMethod mmMethod, IMmSerializable param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: IMmSerializable. More... | |
void | MmInvoke (MmMethod mmMethod, MmTransform param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: MmTransform. More... | |
void | MmInvoke (MmMethod mmMethod, List< MmTransform > param, MmMetadataBlock metadataBlock) |
Invoke an MmMethod with parameter: List<MmTransform>. More... | |
Defines methods required by an MmResponder & utility methods making invocation MmMethods with built-in MmMessages easier.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMessageType | msgType, |
MmMessage | message | ||
) |
Invoke an MmMethod.
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. |
msg | The message to send. This class builds on UNET's MessageBase so it is Auto [de]serialized by UNET. |
Implemented in MercuryMessaging.MmRelayNode, and MercuryMessaging.MmQuickNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with no parameter.
mmMethod | MmMethod Identifier - MmMethod |
metadataBlock | Object defining the routing of MmMessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
int | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: int.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: int. |
metadataBlock | Object defining the routing of MmMessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
Vector3 | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: Vector3.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: Vector3. |
metadataBlock | Object defining the routing of MmMessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
Vector4 | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: Vector4.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: Vector4. |
metadataBlock | Object defining the routing of MmMessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
string | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: string.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: string. |
metadataBlock | Object defining the routing of Mmessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
float | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: float.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: float. |
metadataBlock | Object defining the routing of Mmessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
byte [] | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: byte array.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: byte array. |
metadataBlock | Object defining the routing of Mmessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
bool | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: bool.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: bool. |
metadataBlock | Object defining the routing of Mmessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
IMmSerializable | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: IMmSerializable.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: IMmSerializable. IMmSerializable |
metadataBlock | Object defining the routing of Mmessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
MmTransform | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: MmTransform.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: MmTransform. MmTransform |
metadataBlock | Object defining the routing of Mmessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.
void MercuryMessaging.IMmNode.MmInvoke | ( | MmMethod | mmMethod, |
List< MmTransform > | param, | ||
MmMetadataBlock | metadataBlock | ||
) |
Invoke an MmMethod with parameter: List<MmTransform>.
mmMethod | MmMethod Identifier - MmMethod |
param | MmMethod parameter: List<MmTransform>. |
metadataBlock | Object defining the routing of Mmessages through MercuryMessaging Hierarchies. MmMetadataBlock |
Implemented in MercuryMessaging.MmRelayNode.