com.vhosting.netconf
Class PartialLock

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

public class PartialLock
extends Operation

The partial-lock Netconf operation. The partial-lock operation allows the client to lock a portion of the running Container. The portion to lock is specified with XPath expressions. Supported server capabilities:

 urn:ietf:params:netconf:base:1.0
 rn:ietf:params:netconf:capability:partial-lock:1.0
 urn:ietf:params:netconf:xpath:1.0
 

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

Nested Class Summary
 class PartialLock.PartialLockReply
          This class provides specific methods to process the data obtained in response to a RpcReply after a partial-lock operation.
 
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
PartialLock(Session session, XPathSelections selections)
          Create the partial-lock 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

PartialLock

public PartialLock(Session session,
                   XPathSelections selections)
            throws CapabilityException
Create the partial-lock Netconf operation.

Parameters:
session - The active session.
selections - The set of XPath selections of nodes on which to perform the operation.
Throws:
CapabilityException - Throw this exception if the server does not have the :xpath:1.0 capability or the :partial-lock:1.0 capability.