Router.addSeekAnyInterface()

Method

Declaration

NeighborInterface addSeekAnyInterface(
    java.lang.String  remoteHost,
    int               remotePort,
    int               cost,
    boolean           compressed)
  throws ConfigurationException
NeighborInterface addSeekAnyInterface(
    java.lang.String  remoteHost,
    int               remotePort,
    int               cost)
  throws ConfigurationException

Note 

Use the first form when the router is release 7.1 or later.

Use the second form when the router is release 7.0.

Purpose

Specify a neighbor interface that seeks any neighbor.

Remarks

Use this method to specify a neighbor interface in which this routing daemon attempts to connect to any remote routing daemon that matches the specification.

It is illegal to configure a router name with two or more seek any neighbor interfaces with the same remote host.

Seek any interfaces cannot use TLS neighbor connections.

Parameter

Description

remoteHost

The local router will seek a neighbor running on this host computer. Supply either a DNS hostname that can resolve to more than one IP address, or a virtual IP address.

remotePort

The local router will use this TCP port to request a neighbor connection with remote routers. All potential neighbors must listen for neighbor requests on this port. For more information, see Remote Connection Information in TIBCO Rendezvous Administration.

cost

The path cost of this neighbor link; see Load Balancing in TIBCO Rendezvous Administration.

You may supply the default cost, NeighborInterface.DEFAULT_COST.

compressed

When true, the new neighbor interface compresses outbound data and uncompresses inbound data.

When false, the new neighbor interface does not compress data.

Notice that it is inconsistent for one neighbor to compress data while the other does not. Neighbors must agree concerning compression, otherwise they cannot establish a connection.

Rendezvous routing daemons support data compression in release 7.1 and later; earlier releases do not. When the routing daemon does not support data compression, use the form of this method that omits this parameter.

See Also

NeighborInterface

Router

Router.getNeighborInterfaces()

Router.removeNeighborInterface()

For the corresponding browser pages, see Add New Neighbor Interface in TIBCO Rendezvous Administration

For background information, see these sections:

Neighbors in TIBCO Rendezvous Administration
Seek Neighbor with Any Name in TIBCO Rendezvous Administration