com.eurotech.framework.net.route
Interface RoutingAgentService


public interface RoutingAgentService

Routing agent service is used to control the static routing table. The service is used to specify which interfaces should be used in considering routes and what their priorities should be.


Method Summary
 void addInterface(NetInterfaceConfig netIfaceConfig)
          Adds interface to RoutingAgent
 String getDefaultGateway()
          Get the default gateway
 void removeInterface(String interfaceName)
          Removes interface from RoutingAgent
 void setPriorities(Map<String,Integer> priorities)
          Sets interface priorities
 

Method Detail

setPriorities

void setPriorities(Map<String,Integer> priorities)
Sets interface priorities

Parameters:
priorities - - list of interface priorities as Map

addInterface

void addInterface(NetInterfaceConfig netIfaceConfig)
                  throws EsfException
Adds interface to RoutingAgent

Parameters:
netIfaceConfig - - interface configuration as NetInterfaceConfig
Throws:
EsfException

removeInterface

void removeInterface(String interfaceName)
                     throws EsfException
Removes interface from RoutingAgent

Parameters:
interfaceName - - interface name as String
Throws:
EsfException

getDefaultGateway

String getDefaultGateway()
                         throws EsfException
Get the default gateway

Returns:
interfaceName - interface name as String
Throws:
EsfException


Copyright © 2013. All Rights Reserved.