com.vhosting.netconf
Class Unlock

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

public class Unlock
extends Operation

The unlock Netconf operation. The unlock operation is used to release a configuration lock, previously obtained with the Lock operation. Supported server capabilities:

 urn:ietf:params:netconf:base:1.0
 urn:ietf:params:netconf:candidate:1.0
 urn:ietf:params:netconf:startup: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
Unlock(Session session, Datastore target)
          Create the unlock 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

Unlock

public Unlock(Session session,
              Datastore target)
       throws CapabilityException
Create the unlock Netconf operation.

Parameters:
session - The active session.
target - The target Container to lock.
Throws:
CapabilityException - Throw this exception if the server does not have the :candidate:1.0 capability and the target container is 'candidate'. Similarly, throw this exception if the server does not have the :startup:1.0 capability and the target container is 'startup'.