Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvCmMsg::getSender()

Method

## Declaration

    static TibrvStatus getSender(
        TibrvMsg& msg,
        const char*& name);

## Purpose

Extract the correspondent name of the sender from a certified message.

Parameter | Description
`msg` | Extract the sender name from this message.
`name` | The program supplies a variable. The method stores the name in that variable.

## Status

This method returns a status code that discriminates between labeled messages and other messages.

| • | If the message is from a CM sender, then TibrvCmMsg::getSender() returns the status code TIBRV_OK and yields a valid CM correspondent name.

| • | If the message is not from a CM sender, then TibrvCmMsg::getSender() returns the status code TIBRV_NOT_FOUND.

## See Also

TibrvCmTransport::create()

TibrvCmTransport::getName()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2025. Cloud Software Group, Inc. All Rights Reserved.