com.vhosting.netconf
Class DeleteConfig

java.lang.Object
  extended by com.vhosting.netconf.Operation
      extended by com.vhosting.netconf.DeleteConfig

public class DeleteConfig
extends Operation

The delete-config Netconf operation. Delete a configuration Container. Note: The 'running' configuration Container cannot be deleted. Supported server capabilities:

 urn:ietf:params:netconf:base:1.0
 

Version:
1.00, 02/11/2010
Author:
Giuseppe Palmeri

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vhosting.netconf.Operation
Operation.Reply
 
Field Summary
 
Fields inherited from class com.vhosting.netconf.Operation
operation, session
 
Constructor Summary
DeleteConfig(Session session, Datastore target)
          Create the delete-config Netconf operation.
DeleteConfig(Session session, java.net.URL target)
          Create the delete-config Netconf operation.
 
Method Summary
 
Methods inherited from class com.vhosting.netconf.Operation
execute, execute, executeSync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteConfig

public DeleteConfig(Session session,
                    Datastore target)
Create the delete-config Netconf operation.

Parameters:
session - The active session.
target - The target Container.

DeleteConfig

public DeleteConfig(Session session,
                    java.net.URL target)
             throws CapabilityException
Create the delete-config Netconf operation.

Parameters:
session - The active session.
target - The target URL Container.
Throws:
CapabilityException - Throw this exception if the server does not have the :url:1.0 capability or if the used URL schema is not supported by server.