TibrvTransport

Class

Declaration

class TibrvTransport
    virtual ~TibrvTransport();    // Destroy and reclaim storage.

Purpose

A transport object represents a delivery mechanism for messages.

Remarks

A transport describes a carrier for messages—whether across a network, among processes on a single computer, or within a process. Transports manage network connections, and send outbound messages.

A transport also defines the delivery scope of a message—that is, the set of possible destinations for the messages it sends.

Destroying a transport object invalidates subsequent send calls on that transport, and invalidates any listeners using that transport. The destructor calls the destroy method, unless the C object is already destroyed.

This class is the superclass of all other transport classes. Methods defined by this class are implemented by all transport subclasses (except TibrvCmQueueTransport, for which some methods do not apply).

Intra-Process Transport

Each process has exactly one intra-process transport; the call Tibrv::open() automatically creates it, and the call Tibrv::processTransport() extracts it. Programs must not destroy the intra-process transport.

Method

Description

TibrvTransport::createInbox()

Create a unique inbox subject name.

TibrvTransport::destroy()

Destroy a transport.

TibrvTransport::isValid()

Test validity of a transport.

TibrvTransport::getDescription()

Extract the program description parameter from a transport.

TibrvTransport::getHandle()

Extract the C handle of this transport object.

TibrvTransport::requestReliability()

Request reliability interval (message retention time) for a service.

TibrvTransport::send()

Send a message.

TibrvTransport::sendReply()

Send a reply message.

TibrvTransport::sendRequest()

Send a request message and wait for a reply.

TibrvTransport::setDescription()

Set the program description parameter of a transport.

Descendants

TibrvProcessTransport

TibrvNetTransport

TibrvVcTransport

TibrvCmTransport

TibrvCmQueueTransport

See Also

Transport in TIBCO Rendezvous Concepts