|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CamaException | |
---|---|
jcama | |
plugins.collocation |
Uses of CamaException in jcama |
---|
Subclasses of CamaException in jcama | |
---|---|
class |
AgentException
|
class |
BadPredicateException
|
class |
CamaExceptionBadDestination
This exception can be thrown by pr, pw or pd operations if an invalid agent attempts to get a token ownership |
class |
CamaExceptionBadName
Indicates an attemtp to use invalid scope name. |
class |
CamaExceptionClosed
Thrown when an agent is trying to Join a scope in a closed state |
class |
CamaExceptionDisconnection
Indicates failure of an operation due to disconnection |
class |
CamaExceptionInvalidReqs
Thrown if invalid scope requirements were pass to CreateScope operations |
class |
CamaExceptionInvalidRole
Thrown if an agent tried to connect with an invalid role id or key |
class |
CamaExceptionNoRights
Thrown if an agent has no rights to execute the operation with the given arguments in a given state |
class |
CamaExceptionNoRoles
Indicates that there are no vacant roles of the rqeuested type in a scope |
class |
CamaExceptionNoState
This exception indicates might indicate incompatibility of jCAMA and CAMA versions. |
class |
CamaExceptionNotInScope
Thrown when an agent attempts to use a Linda operation or the lambda scope or in a state where there is no active scope (i.e. |
class |
jCamaException
|
class |
jCamaTupleLocal
|
Methods in jcama that return CamaException | |
---|---|
static CamaException |
CamaException.CamaSelException(int err_code)
|
Methods in jcama that throw CamaException | |
---|---|
Scope |
Scope.CreateScope(java.lang.String name,
ScopeDescr descr)
Creates a new scope with the given scope requirements. |
void |
Scope.DeleteScope()
Deletes a scope. |
void |
Location.Disengage()
Disengages CAMA location |
void |
Scope.Disengage()
Disconnect from the location |
Scope |
Location.Engage()
Engages CAMA location and recieves lambda scope handle |
void |
Scope.gd(int roleid,
java.lang.String templ)
|
void |
Scope.gd(int roleid,
Templ templ)
|
ScopeName |
Scope.GetScopes(CamaKey scopeType)
Returns all the public sub-scopes of the curent scope |
void |
Scope.gr(int roleid,
java.lang.String templ)
|
void |
Scope.gr(int roleid,
Templ templ)
|
void |
Scope.gw(int roleid,
java.lang.String templ)
|
void |
Scope.gw(int roleid,
Templ templ)
|
Tuple |
Scope.in(java.lang.String templ)
|
Tuple |
Scope.in(Templ templ)
Reads and removes a tuple from the scope, blocks and waits if there are no matching tuples |
Tuple[] |
Scope.ina(Templ templ)
Reads and removes all the matching tuples from the scope, blocks and waits until there is at least one matching tuple |
Tuple |
Scope.inn(Templ templ)
Reads and removes a fresh tuple from the scope, blocks and waits if there are no fresh matching tuples |
Tuple |
Scope.inp(Templ templ)
Reads and removes a tuple from the scope, returns an empty tuple if there are no matching tuples available immediately |
Tuple[] |
Scope.inpa(Templ templ)
Reads and removes all the matching tuples from the scope, returns an empty tuple list if there are no matching tuples available immediately |
Tuple |
Scope.inpn(Templ templ)
Reads and removes a fresh tuple from the scope, returns an empty tuple if there are no fresh matching tuples available immediately |
Scope |
Scope.JoinScope(ScopeName name,
int roleid,
CamaKey key)
Joins a scope with the specified role. |
void |
Scope.LeaveScope()
Leaves the current scope |
static void |
CamaAgent.main(java.lang.String[] args)
|
static Scope |
Location.newInstance(Scope s)
Creates a new instance of a scope handle that can be used in another thread. |
void |
Scope.out(Tuple tuple)
Outputs a single tuple |
void |
Scope.outa(Tuple[] tuple_list)
Atomically outputs a list of tuples |
void |
Scope.pd(int roleid,
java.lang.String templ)
|
void |
Scope.pd(int roleid,
Templ templ)
|
void |
Scope.pr(int roleid,
java.lang.String templ)
|
void |
Scope.pr(int roleid,
Templ templ)
|
void |
Scope.PutScope()
Make the curent scope public. |
void |
Scope.pw(int roleid,
java.lang.String templ)
|
void |
Scope.pw(int roleid,
Templ templ)
|
void |
Scope.raise(Tuple t,
AgentException exc)
Exception raising Throws an exception E to the producer of a tuple t. |
Tuple |
Scope.rd(Pred pr)
|
Tuple |
Scope.rd(java.lang.String templ)
|
Tuple |
Scope.rd(Templ templ)
Reads a tuple without removing it from the scope, blocks and waits if there are no matching tuples |
Tuple[] |
Scope.rda(Templ templ)
Reads all the matching tuples without removing them from the scope, blocks and waits until there is at least one matching tuple |
Tuple |
Scope.rdn(Templ templ)
Reads a fresh tuple (such that is produced at the same time or after the last read tuple) without removing it from the scope, blocks and waits if there are no fresh matching tuples |
Tuple |
Scope.rdp(Templ templ)
Reads a tuple without removing it from the scope, returns an empty tuple if there are no matching tuples available immediately |
Tuple[] |
Scope.rdpa(Templ templ)
Reads all the matching tuples without removing them from the scope, returns an empty tuple list if there are no matching tuples available immediately |
Tuple |
Scope.rdpn(Templ templ)
Reads a fresh tuple without removing it from the scope, returns an empty tuple if there are no fresh matching tuples available immediately |
Uses of CamaException in plugins.collocation |
---|
Methods in plugins.collocation that throw CamaException | |
---|---|
static void |
collocationAgent.main(java.lang.String[] args)
|
Constructors in plugins.collocation that throw CamaException | |
---|---|
collocationAgent(java.lang.String host,
int port)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |