TransferMessage (for Internal Use Only)
Description
Sends a message.
Prototype
rpc TransferMessage(Message) returns (Ack)
Input Parameters
Parameter |
Type (Defined by Protobuf) |
Description |
|---|---|---|
Message |
message MessageHeader { string uuid = 1; string mtype = 2; bool sync = 3; Position src = 4; Position dst = 5; int64 createTime = 6; } message Message { MessageHeader header = 1; string body = 2; } |
uuid: message UUID mtype: message type sync: whether to send messages synchronously src: message source dst: message destination createTime: message creation timestamp header: message header body: message body |
Return Value
Return Value |
Type (Defined by Protobuf) |
Description |
|---|---|---|
Ack |
message Ack { string uuid = 1; uint32 code = 2; Position src = 3; } |
uuid: consistent with the message UUID in MessageHeader code: return code
src: role location |
Parent topic: Internal TaskD APIs