public interface RootACC
Modifier and Type | Method and Description |
---|---|
void |
enterACC()
Enters an Agent Coordination Context, that is, tries to acquire it,
setting up a communication/coordination channel with TuCSoN services.
|
void |
exit()
Releases the ACC, exiting from the TuCSoN system.
|
java.lang.String |
getPassword()
Gets the (encrypted) RBAC password (if existing).
|
java.util.Map<java.lang.Long,TucsonOperation> |
getPendingOperationsMap()
Gets the set of pending operations, that is, thos TuCSoN operations
invoked asynchronously for which no reply has been received yet.
|
java.lang.String |
getUsername()
Gets the RBAC username (if existing).
|
java.util.UUID |
getUUID()
Gets the assigned UUID.
|
boolean |
isACCEntered()
Checks whether an ACC has been succesfully acquired.
|
void enterACC() throws UnreachableNodeException, TucsonOperationNotPossibleException, TucsonInvalidTupleCentreIdException
UnreachableNodeException
- if the TuCSoN node target of this operation is not
network-reachableTucsonOperationNotPossibleException
- if the requested TuCSoN operation cannot be performedTucsonInvalidTupleCentreIdException
- if the target tuple centre ID is not a valid TuCSoN tuple
centre IDvoid exit() throws TucsonOperationNotPossibleException
TucsonOperationNotPossibleException
- if the requested operation cannot be carried outjava.lang.String getPassword()
java.util.Map<java.lang.Long,TucsonOperation> getPendingOperationsMap()
java.lang.String getUsername()
java.util.UUID getUUID()
boolean isACCEntered()
true
or false
depending on whether an ACC has
been succesfully acquired