public class RemoveNetworkRouteTask extends SipServletTask
NetworkInterfaceManagementMXBean.removeRoute(int)
management operation.
Attribute | Description | Required |
position | The position of the route in the current route list to be removed. | Yes. |
connectionrefid | The id of a previous connect task that will be used to connect
to a SIP Servlet RA entity. |
No. The connection from the last successful
connect task is used by default. |
failonerror | Default failure case behaviour for this task. If set to 'false' or 'no', the build will continue when this task attempts a redundant action. | No. Default is false . |
<removenetworkroute position="0"/>
Constructor and Description |
---|
RemoveNetworkRouteTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(SipServletClient client) |
void |
setPosition(int pos) |
protected void |
validateParameters() |
debug, debug, error, error, execute, fatal, fatal, fatal, getFailOnError, getSipServletClient, info, info, nonFatal, nonFatal, nonFatal, setConnectionRefId, setFailOnError, toByteArray, toString, verbose, verbose, warn, warn
public void setPosition(int pos)
protected void validateParameters() throws BuildException
validateParameters
in class SipServletTask
BuildException
protected void execute(SipServletClient client) throws BuildException
execute
in class SipServletTask
BuildException