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