Open topic with navigation

TIBCO Rendezvous® 8.7.0

# Router.addAcceptAnyInterface()

Method

## Declaration

    NeighborInterface addAcceptAnyInterface(
        java.lang.String  localHost,
        int               localPort,
        int               cost,
        boolean           compressed)
      throws ConfigurationException
    NeighborInterface addAcceptAnyInterface(
        int       localPort,
        int       cost,
        boolean   compressed)
      throws ConfigurationException
    NeighborInterface addAcceptAnyInterface(
        int localPort,
        int cost)
      throws ConfigurationException

Note | Use the first form when the router is release 7.2 or later. Use the second form when the router is release 7.1 (it is deprecated for later releases). Use the third form when the router is release 7.0.

## Purpose

Specify a neighbor interface that accepts any neighbor.

## Remarks

Use this method to specify a neighbor interface in which this routing daemon accepts neighbor connections from any other routing daemon.

It is not possible to configure a router name with more than one accept any neighbor interface.

Accept any interfaces cannot use TLS neighbor connections.

Parameter | Description
`localHost` | The local router will listen on this network interface for neighbor connection requests from remote routers. Supply an IP address or hostname denoting a local network interface. For more information, see Local Host in TIBCO Rendezvous Administration.
`localPort` | The local router will listen on this local TCP port for neighbor connection requests from remote routers. For more information, see Local Connect Port 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

| • | Accept Any as Neighbor in TIBCO Rendezvous Administration

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.