Router.addLocalNetworkInterface()

Method

Declaration

LocalNetworkInterface addLocalNetworkInterface(
    java.lang.String  localNetworkName,
    int               service,
    java.lang.String  networkSpecification,
    int               cost)
  throws ConfigurationException

Purpose

Specify a local network interface.

Remarks

On a BorderRouter, this method automatically configures the default policy for all pairings of the new interface with every other existing interface. The default policy forwards _INBOX.> (all inbox subjects); for additional details, see Policy in TIBCO Rendezvous Administration.

Item

Description

localNetworkName

Supply the name of the local network. Local network names must be globally unique. For more information, see Local Network in TIBCO Rendezvous Administration.

service

Supply the UDP service for communication on the local network. Programs within the local network communicate using this service. For more information, see Specifying the UDP Service in TIBCO Rendezvous Administration.

You may supply the default value LocalNetworkInterface.UNSPECIFIED.

networkSpecification

Supply the network specification. For more information, see Constructing the Network Parameter in TIBCO Rendezvous Administration.

You may supply the default value, the empty string.

cost

Supply the path cost for routing between the local network and the router. For more information, see Load Balancing in TIBCO Rendezvous Administration.

You may supply the default cost LocalNetworkInterface.DEFAULT_COST.

See Also

LocalNetworkInterface

Router

Router.getLocalNetworkInterfaces()

Router.removeLocalNetworkInterface()

For the corresponding browser page, see Local Network Interfaces Configuration in TIBCO Rendezvous Administration

For background information, see these sections:

Routing Table Entry in TIBCO Rendezvous Administration
Local Network in TIBCO Rendezvous Administration