|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vhosting.netconf.Operation
com.vhosting.netconf.Lock
public class Lock
The lock Netconf operation. The lock operation allows the client to lock the configuration system of a device. Supported server capabilities:
urn:ietf:params:netconf:base:1.0 urn:ietf:params:netconf:candidate:1.0 urn:ietf:params:netconf:startup:1.0
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 | |
---|---|
Lock(Session session,
Datastore target)
Create the 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 |
---|
public Lock(Session session, Datastore target) throws CapabilityException
session
- The active session.target
- The target Container to lock.
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'.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |