public class UpdateDefaultNetworkRouteTask extends SipServletTask
NetworkRouteMXBean
MBean
representing the network route.
Attribute | Description | Required |
interface | The name of the network interface to be used for the default route. | No. |
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 . |
<updatedefaultnetworkroute interface="external"/>
Constructor and Description |
---|
UpdateDefaultNetworkRouteTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(SipServletClient client) |
void |
setInterface(java.lang.String interfaceName) |
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 setInterface(java.lang.String interfaceName)
protected void validateParameters() throws BuildException
validateParameters
in class SipServletTask
BuildException
protected void execute(SipServletClient client) throws BuildException
execute
in class SipServletTask
BuildException