All Classes Files Functions Variables Pages
webadmin::RoutingTable Interface Reference

Public Member Functions

void get (out RouteList routes, in[Opt] boolean ipv6)
 
void getStaticRoutes (out RouteList routes, in[Opt] boolean ipv6)
 
void setStaticRoutes (out kerio::web::ErrorList errors, in RouteList routes, in[Opt] boolean ipv6)
 

Member Function Documentation

void webadmin::RoutingTable::get ( out RouteList  routes,
in boolean  ipv6[Opt] 
)

Gets routing table from system.

Parameters
routes- a list of routes currently stroed and used by system.
ipv6- use IPv6 routing table.
Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::RoutingTable::getStaticRoutes ( out RouteList  routes,
in boolean  ipv6[Opt] 
)

Gets static routes.

Parameters
routes- a list of routes currently stroed and used by Control.
ipv6- use IPv6 routing table.
Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::RoutingTable::setStaticRoutes ( out kerio::web::ErrorList  errors,
in RouteList  routes,
in boolean  ipv6[Opt] 
)

set static routes

Parameters
errors- list of errors
8002 Database error. - "Unable to modify route '%1/%2'."
8002 Database error. - "Unable to create route '%1/%2'."
8002 Database error. - "Unable to remove route '%1/%2'."
routes- A list of routes that should be stored in configuration.
ipv6- use IPv6 routing table.
Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."

The documentation for this interface was generated from the following file: