TibrvTransport

Class

Declaration

abstract class com.tibco.tibrv.TibrvTransport
  extends java.lang.Object

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.

Programs must explicitly destroy instances of these classes. Rendezvous software keeps internal references to these objects, so the Java garbage collector does not delete them automatically.

This abstract 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.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.setBatchSize()

Enable outbound batching of data from IPM, and set the batch size (in bytes).

TibrvTransport.setDescription()

Set the program description parameter of a transport.

Inherited Methods

java.lang.Object.equals

java.lang.Object.getClass

java.lang.Object.hashCode

java.lang.Object.notify

java.lang.Object.notifyAll

java.lang.Object.toString

java.lang.Object.wait

Descendants

TibrvProcessTransport

TibrvNetTransport

TibrvRvdTransport

TibrvCmTransport

TibrvCmQueueTransport

See Also

Transport on page 75 in TIBCO Rendezvous Concepts