Constructor and Description |
---|
EnvConfigAgent(java.lang.String ipAddress,
int portno) |
Constructor and Description |
---|
EnvAgentId(java.lang.String aid) |
TransducerId(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
Tucson2PLibrary.acquire_acc_1(alice.tuprolog.Term id)
To be enabled to interact with any TuCSoN system, an ACC must be acquired
first.
|
EnhancedACC |
NegotiationACC.playDefaultRole()
Requests to play the default role according to RBAC configuration (as
installed in the TuCSoN node who released this ACC) and to the requesting
agent class.
|
EnhancedACC |
NegotiationACC.playRole(java.lang.String roleName)
Requests to play the given role according to RBAC configuration (as
installed in the TuCSoN node who released this ACC) and to the requesting
agent class.
|
EnhancedACC |
NegotiationACC.playRole(java.lang.String roleName,
java.lang.Long timeout)
Requests to play the given role according to RBAC configuration (as
installed in the TuCSoN node who released this ACC) and to the requesting
agent class, waiting
timeout milliseconds at most for operation
completion. |
EnhancedACC |
NegotiationACC.playRoleWithPermissions(java.util.List<java.lang.String> permNames)
Requests to play a role given a set of desired permissions, according to
RBAC configuration (as installed in the TuCSoN node who released this
ACC) and to the requesting agent class.
|
EnhancedACC |
NegotiationACC.playRoleWithPermissions(java.util.List<java.lang.String> permNames,
java.lang.Long timeout)
Requests to play a role given a set of desired permissions, according to
RBAC configuration (as installed in the TuCSoN node who released this
ACC) and to the requesting agent class, waiting
timeout
milliseconds at most for operation completion. |
Constructor and Description |
---|
AbstractAutomaton(java.lang.String aid) |
AbstractTucsonAgent(java.lang.String id)
Same as before, this time using the passed String to create the
TucsonAgentId from scratch
|
AbstractTucsonAgent(java.lang.String id,
java.lang.String netid)
Again we assume default port (which is 20504), so we skip that parameter
(String aid version).
|
AbstractTucsonAgent(java.lang.String id,
java.lang.String netid,
int p)
Same as first one, but takes a String in place of a TucsonAgentId that is
created from scratch using such string.
|
TucsonAgentId(java.lang.String id) |
Constructor and Description |
---|
AsynchOpsHelper(java.lang.String id)
Builds an helper given the delegating agent ID
|
Constructor and Description |
---|
MasterAgent(java.lang.String id,
int nCalcs)
Builds a Master Agent given its TuCSoN agent ID and the number of
calculations to perform
|
PrimeCalculator(java.lang.String id)
Builds a Prime Calculator Agent given its TuCSoN agent ID
|
Constructor and Description |
---|
DiningPhilosopher(java.lang.String aid,
TucsonTupleCentreId table,
int left,
int right) |
DiningPhilosophersTest(java.lang.String aid) |
Constructor and Description |
---|
DDiningPhilosophersTest(java.lang.String aid) |
DiningPhilosopher(java.lang.String aid,
TucsonTupleCentreId seat) |
Constructor and Description |
---|
HelloWorldAgent(java.lang.String aid) |
Constructor and Description |
---|
AdminAgent(java.lang.String id,
java.lang.String netid,
int p) |
AuthorisedAgent(java.lang.String id,
java.lang.String netid,
int p) |
UnauthorisedAgent(java.lang.String id,
java.lang.String netid,
int p) |
Constructor and Description |
---|
MasterAgent(java.lang.String aid,
java.util.List<java.lang.String> nodes,
int iters,
int maxFact) |
Constructor and Description |
---|
DiningPhilosopher(java.lang.String aid,
TucsonTupleCentreId table,
int left,
int right,
int eatingTime,
int eatingStep) |
TDiningPhilosophersTest(java.lang.String aid) |
Constructor and Description |
---|
InspectorContextSkel(ACCProvider man,
AbstractTucsonProtocol d,
TucsonNodeService node,
ACCDescription p) |
Modifier and Type | Method and Description |
---|---|
EnhancedACC |
NegotiationACCProxyAgentSide.playDefaultRole() |
EnhancedACC |
NegotiationACCProxyAgentSide.playRole(java.lang.String roleName) |
EnhancedACC |
NegotiationACCProxyAgentSide.playRole(java.lang.String roleName,
java.lang.Long timeout) |
EnhancedACC |
NegotiationACCProxyAgentSide.playRoleWithPermissions(java.util.List<java.lang.String> permissionsId) |
EnhancedACC |
NegotiationACCProxyAgentSide.playRoleWithPermissions(java.util.List<java.lang.String> permissionsId,
java.lang.Long l) |
boolean |
ACCProvider.processContextRequest(ACCDescription profile,
AbstractTucsonProtocol dialog) |
Constructor and Description |
---|
ACCProxyAgentSide(java.lang.Object agId)
Default constructor: exploits the default port (20504) in the "localhost"
TuCSoN Node Service
|
ACCProxyAgentSide(java.lang.Object agId,
java.lang.String n,
int p)
Complete constructor: starts the named TuCSoN Agent on the specific
TuCSoN node listening on the specified port
|
ACCProxyAgentSide(java.lang.Object agId,
java.lang.String n,
int p,
java.util.UUID agentUUID) |
ACCProxyNodeSide(ACCProvider man,
AbstractTucsonProtocol d,
TucsonNodeService n,
ACCDescription p) |
AdminACCProxyAgentSide(java.lang.Object aid)
Builds an Administrator ACC given the associated agent ID or name
|
AdminACCProxyAgentSide(java.lang.Object aid,
java.lang.String node,
int port)
Builds an Administrator ACC given the associated agent ID or name, the IP
address of the TuCSoN node the agent is willing to interact with, and the
TCP port also.
|
AdminACCProxyAgentSide(java.lang.Object aid,
java.lang.String node,
int port,
java.lang.String uname,
java.lang.String psw)
Builds an Administrator ACC given the associated agent ID or name, the IP
address of the TuCSoN node the agent is willing to interact with, the TCP
port also, as well as the agent username and (encrypted) password.
|
NegotiationACCProxyAgentSide(java.lang.Object aid)
Builds a Negotiation ACC given the associated agent ID or name
|
NegotiationACCProxyAgentSide(java.lang.Object aid,
java.lang.String n,
int p)
Builds a Negotiation ACC given the associated agent ID or name, the IP
address of the TuCSoN node the agent is willing to interact with, and the
TCP port also.
|
RBACACCProxyAgentSide(java.lang.Object aid,
Role r,
java.util.UUID agentUUID)
Builds an RBAC ACC given the associated agent ID or name, its initial
role and the assigned UUID.
|
RBACACCProxyAgentSide(java.lang.Object aid,
java.lang.String n,
int p,
Role r,
java.util.UUID agentUUID)
Builds an RBAC ACC given the associated agent ID or name, the IP address
of the TuCSoN node it is willing to interact with, its TCP port also, as
well as the associated agent initial role and the assigned UUID.
|