public class EnableNetworkInterfaceTask extends SipServletTask
NetworkInterfaceManagementMXBean.enableNetworkInterface(String)
management operation.
Attribute | Description | Required |
name | The name of a network interface definition. | 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 . |
<enablenetworkinterface name="external"/>
Constructor and Description |
---|
EnableNetworkInterfaceTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(SipServletClient client) |
void |
setName(java.lang.String name) |
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 setName(java.lang.String name)
protected void validateParameters() throws BuildException
validateParameters
in class SipServletTask
BuildException
protected void execute(SipServletClient client)
execute
in class SipServletTask