com.vhosting.netconf
Class DiscardChanges

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

public class DiscardChanges
extends Operation

The discard-changes Netconf operation. If the client decides that the candidate configuration should not be committed, this operation can be used to revert the candidate configuration to the current running configuration. Supported server capabilities:

 urn:ietf:params:netconf:capability:candidate: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
DiscardChanges(Session session)
          Create the discard-changes 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

DiscardChanges

public DiscardChanges(Session session)
               throws CapabilityException
Create the discard-changes Netconf operation.

Parameters:
session - The active session.
Throws:
CapabilityException - Throw this exception if the server does not have the :candidate:1.0 capability.