Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvTransport::destroy()

Method

## Declaration

    TibrvStatus destroy()

## Purpose

Destroy a transport.

## Remarks

Programs must explicitly destroy each transport object, either using this method, or by calling Tibrv::close() (which destroys all transports).

Destroying a transport achieves these effects:

| • | The transport flushes all outbound data to the Rendezvous daemon.

This effect is especially important, and neither exiting the program nor calling Tibrv::close() is sufficient to flush outbound data.

| • | The transport invalidates (but does not destroy) all associated listeners.

| • | Subsequent calls that use the destroyed transport return an error status.

| • | Storage for the transport object is freed.

## See Also

TibrvTransport::isValid()

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.