Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvVcTransport

Class

## Declaration

    class com.tibco.tibrv.TibrvVcTransport
      extends TibrvTransport

## Purpose

A virtual circuit transport object represents a terminal in a potential circuit.

## Remarks

A virtual circuit transport can fill the same roles as an ordinary transport. Programs can use them to create inbox names, send messages, create listeners and other events.

Instead of a constructor, this class has two create methods. These two methods also determine the protocol role of the transport object—one method creates a terminal that accepts connections, and another method creates a terminal that attempts to connect.

The two terminals play complementary roles as they attempt to establish a connection. However, this difference soon evaporates. After the connection is complete, the two terminals behave identically.

Method | Description
TibrvVcTransport.createAcceptVc() | Create a virtual circuit accept object.
TibrvVcTransport.createConnectVc() | Create a virtual circuit connect object
TibrvVcTransport.getConnectSubject() | Return the connect subject of an accept terminal.
TibrvVcTransport.waitForVcConnection() | Test the connection status of a virtual circuit.

## Broken Connection

The following conditions can close a virtual circuit connection:

| • | Contact is broken between the object and its terminal.

| • | The virtual circuit loses data in either direction (see DATALOSS on page 240 in TIBCO Rendezvous Concepts).

| • | The partner program destroys its terminal object (or that terminal becomes invalid).

| • | The program destroys the object.

| • | The program destroys the object’s ordinary transport.

## Direct Communication

Because virtual circuits rely on point-to-point messages between the two terminals, they can use direct communication to good advantage. To do so, both terminals must use network transports that enable direct communication.

For an overview, see Direct Communication on page 91 in TIBCO Rendezvous Concepts.

For programming details, see Specifying Direct Communication on page 80 in TIBCO Rendezvous Concepts.

Inherited Methods
`TibrvTransport.createInbox()` TibrvTransport.destroy() `TibrvTransport.isValid()` TibrvTransport.send() TibrvTransport.sendReply() TibrvTransport.sendRequest()
Disabled Methods inherited from TibrvTransport TibrvTransport.getDescription() TibrvTransport.setDescription()
`java.lang.Object.equals` `java.lang.Object.getClass` `java.lang.Object.hashCode` `java.lang.Object.notify` `java.lang.Object.notifyAll` `java.lang.Object.toString` (override) `java.lang.Object.wait`

## Related Classes

TibrvTransport

TibrvProcessTransport

TibrvNetTransport

## See Also

Virtual Circuits on page 95 in TIBCO Rendezvous Concepts

Subtopics

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-2023. Cloud Software Group, Inc. All Rights Reserved.