Open topic with navigation

TIBCO Rendezvous® 8.7.0

# NeighborInterface

Class

## Declaration

    class com.tibco.tibrv.config.NeighborInterface
      extends java.lang.Object

## Purpose

Represent a neighbor interface of a router.

## Remarks

The method Router.getNeighborInterfaces() returns an array of objects of this class.

Constant | Description
`NeighborInterface.ACCEPT_ANY` `NeighborInterface.ACTIVE` `NeighborInterface.PASSIVE` `NeighborInterface.SEEK_ANY` | NeighborInterface.getType() returns these integer constants, which denote the four types of neighbor interfaces.
`NeighborInterface.DEFAULT_COST` | Default path cost between two routers. To use the default cost, supply this constant to Router.addLocalNetworkInterface().
`NeighborInterface.DEFAULT_PORT` | Default TCP port (7501). To use the default port, supply this constant to any of the four methods of Router that add neighbor interfaces.

Method | Description
NeighborInterface.getBacklog() | Get the size of the current backlog on the neighbor link.
NeighborInterface.getCost() | Get the path cost of the neighbor link.
NeighborInterface.getId() | Get the interface ID of the neighbor interface.
NeighborInterface.getLocalPort() | Get the TCP connect port of the local endpoint.
NeighborInterface.getNeighborHost() | Get the host of the remote endpoint.
NeighborInterface.getNeighborName() | Get the router name of the remote endpoint.
NeighborInterface.getNeighborPort() | Get the TCP connect port of the remote endpoint.
NeighborInterface.getType() | Get the type of the neighbor interface.
NeighborInterface.isEncrypted() | Get the TLS requirement flag of the neighbor interface.
NeighborInterface.toXml() | Format the neighbor interface information as an XML document.

## See Also

Router.addAcceptAnyInterface()

Router.addActiveInterface()

Router.addPassiveInterface()

Router.addSeekAnyInterface()

Router.getNeighborInterfaces()

For the corresponding browser pages and background information, see Neighbor Interfaces and Adding Neighbor Interfaces in TIBCO Rendezvous Administration

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.