VCTransport
Class
Superclasses
System.Object
Transport
VCTransport
Visual Basic
Public ClassVCTransport
Inherits Transport
C#
public class VCTransport
: Transport
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 |
Page |
Public Static Methods |
||
Public Instance Methods |
||
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 in | ).
• | 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 in
.For programming details, see Specifying Direct Communication in
.
Inherited Methods |
Related Classes
See Also
Virtual Circuits in