NetTransport

Constructor

Visual Basic

Overloads Public Sub New()
Overloads Public Sub New(
    ByVal service As String,
    ByVal network As String,
    ByVal daemon  As String )
Overloads Public Sub New(
    ByVal service As String,
    ByVal network As String,
    ByVal daemon  As String,
    ByVal licenseTicket As String )

C#

public NetTransport( );
public NetTransport(
    string service,
    string network,
    string daemon );
public NetTransport(
    string service,
    string network,
    string daemon,
    string licenseTicket );

Purpose

Create a transport that connects to a Rendezvous daemon.

Overloading

All arguments specify options for connecting to rvd.

Overloads that omit arguments supply null as default values.

Connecting to the Rendezvous Daemon

Rendezvous daemon processes do the work of moving messages across a network. Every NetTransport must connect to a Rendezvous daemon.

If a Rendezvous daemon process with a corresponding daemon parameter is already running, the transport connects to it.

If an appropriate Rendezvous local daemon is not running, the transport tries to start it. However, the transport does not attempt to start a remote daemon when none is running.

If the transport cannot connect to the Rendezvous daemon, the constructor throws an exception with the status code DaemonNotFound.

Description String

As a debugging aid, we recommend setting a unique description string for each transport. Use a string that distinguishes both the application and the role of the transport within it. See Description.

Parameter

Description

service

The Rendezvous daemon divides the network into logical partitions. Each NetTransport communicates on a single service; a transport can communicate only with other transports on the same service.

To communicate on more than one service, a program must create more than one transport—one transport for each service.

You can specify the service in several ways. For details, see Service Parameter in TIBCO Rendezvous Concepts.

Null specifies the default rendezvous service.

network

Every network transport communicates with other transports over a single network interface. On computers with more than one network interface, the network parameter instructs the Rendezvous daemon to use a particular network for all outbound messages from this transport.

To communicate over more than one network, programs must create more than one transport.

You can specify the network in several ways. For details, see Network Parameter in TIBCO Rendezvous Concepts.

Null specifies the primary network interface for the host computer.

daemon

The daemon parameter instructs the transport object about how and where to find the Rendezvous daemon and establish communication.

For details, see Daemon Parameter in TIBCO Rendezvous Concepts.

You can specify a daemon on a remote computer. For details, see Remote Daemon in TIBCO Rendezvous Concepts.

If you specify a secure daemon, this string must be identical to as the daemonName argument of SDContext.SetDaemonCertificate. See also, Secure Daemon in TIBCO Rendezvous Concepts.

Null specifies the default—find the local daemon on TCP socket 7500. (This default is not valid when the local daemon is a secure daemon.)

licenseTicket

License tickets are no longer required. Values for this parameter are ignored.