public class Tucson2PLibrary
extends alice.tuprolog.Library
Agent
,
Serialized FormConstructor and Description |
---|
Tucson2PLibrary() |
Modifier and Type | Method and Description |
---|---|
boolean |
acquire_acc_1(alice.tuprolog.Term id)
To be enabled to interact with any TuCSoN system, an ACC must be acquired
first.
|
boolean |
get_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
get TuCSoN primitive. |
boolean |
get_s_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
get_s TuCSoN primitive. |
java.lang.String |
getTheory()
Gets the Prolog theory defining all operators and predicates available.
|
boolean |
in_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
in TuCSoN primitive. |
boolean |
in_all_3(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1,
alice.tuprolog.Term arg2)
in_all TuCSoN primitive. |
boolean |
in_s_4(alice.tuprolog.Term event,
alice.tuprolog.Term guards,
alice.tuprolog.Term reactionBody,
alice.tuprolog.Term arg3)
in_s TuCSoN primitive. |
boolean |
inp_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
inp TuCSoN primitive. |
boolean |
inp_s_4(alice.tuprolog.Term event,
alice.tuprolog.Term guards,
alice.tuprolog.Term reactionBody,
alice.tuprolog.Term arg3)
inp_s TuCSoN primitive. |
boolean |
no_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
no TuCSoN primitive. |
boolean |
no_all_3(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1,
alice.tuprolog.Term arg2)
no_all TuCSoN primitive. |
boolean |
no_s_4(alice.tuprolog.Term event,
alice.tuprolog.Term guards,
alice.tuprolog.Term reactionBody,
alice.tuprolog.Term arg3)
no_s TuCSoN primitive. |
boolean |
nop_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
nop TuCSoN primitive. |
boolean |
nop_s_4(alice.tuprolog.Term event,
alice.tuprolog.Term guards,
alice.tuprolog.Term reactionBody,
alice.tuprolog.Term arg3)
nop_s TuCSoN primitive. |
boolean |
out_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
out TuCSoN primitive. |
boolean |
out_all_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
out_all TuCSoN primitive. |
boolean |
out_s_4(alice.tuprolog.Term event,
alice.tuprolog.Term guards,
alice.tuprolog.Term reactionBody,
alice.tuprolog.Term arg3)
out_s TuCSoN primitive. |
boolean |
rd_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
rd TuCSoN primitive. |
boolean |
rd_all_3(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1,
alice.tuprolog.Term arg2)
rd_all TuCSoN primitive. |
boolean |
rd_s_4(alice.tuprolog.Term event,
alice.tuprolog.Term guards,
alice.tuprolog.Term reactionBody,
alice.tuprolog.Term arg3)
rd_s TuCSoN primitive. |
boolean |
rdp_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
rdp TuCSoN primitive. |
boolean |
rdp_s_4(alice.tuprolog.Term event,
alice.tuprolog.Term guards,
alice.tuprolog.Term reactionBody,
alice.tuprolog.Term arg3)
rdp_s TuCSoN primitive. |
boolean |
release_acc_0()
When leaving the TuCSoN system, any agent is kindly requested to release
its ACC.
|
boolean |
set_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
set TuCSoN primitive. |
boolean |
set_s_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
set_s TuCSoN primitive. |
boolean |
spawn_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
spawn TuCSoN primitive. |
boolean |
uin_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
uin TuCSoN primitive. |
boolean |
uinp_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
uinp TuCSoN primitive. |
boolean |
uno_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
uno TuCSoN primitive. |
boolean |
unop_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
unop TuCSoN primitive. |
boolean |
urd_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
urd TuCSoN primitive. |
boolean |
urdp_2(alice.tuprolog.Term arg0,
alice.tuprolog.Term arg1)
urdp TuCSoN primitive. |
public boolean acquire_acc_1(alice.tuprolog.Term id) throws TucsonInvalidAgentIdException
id
- the TucsonAgentId of the tuProlog agent willing to interact
with TuCSoNtrue
if the operation succeed, false
otherwiseTucsonInvalidAgentIdException
- if the given Term does not represent a valid TuCSoN
identifierEnhancedACC
,
TucsonAgentId
public boolean get_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
get
TuCSoN primitive.arg0
- the tuple to store the resultarg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean get_s_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
get_s
TuCSoN primitive.arg0
- the tuple to store the specification resultarg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public java.lang.String getTheory()
getTheory
in class alice.tuprolog.Library
Theory
,
TucsonTupleCentreId
public boolean in_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
in
TuCSoN primitive.arg0
- the tuple to retrievearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean in_all_3(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1, alice.tuprolog.Term arg2) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
in_all
TuCSoN primitive.arg0
- the tuple to retrievearg1
- the tuple to store the resultarg2
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionBulkAsynchACC
,
BulkSynchACC
public boolean in_s_4(alice.tuprolog.Term event, alice.tuprolog.Term guards, alice.tuprolog.Term reactionBody, alice.tuprolog.Term arg3) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
in_s
TuCSoN primitive.event
- the template for the TuCSoN primitive to react toguards
- the template for the guard predicates to be checked for
satisfaction so to actually trigger the body of the ReSpecT
reactionreactionBody
- the template for the computation to be done in response to the
event
arg3
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public boolean inp_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
inp
TuCSoN primitive.arg0
- the tuple to retrievearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean inp_s_4(alice.tuprolog.Term event, alice.tuprolog.Term guards, alice.tuprolog.Term reactionBody, alice.tuprolog.Term arg3) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
inp_s
TuCSoN primitive.event
- the template for the TuCSoN primitive to react toguards
- the template for the guard predicates to be checked for
satisfaction so to actually trigger the body of the ReSpecT
reactionreactionBody
- the template for the computation to be done in response to the
event
arg3
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public boolean no_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
no
TuCSoN primitive.arg0
- the tuple to check for absencearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean no_all_3(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1, alice.tuprolog.Term arg2) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
no_all
TuCSoN primitive.arg0
- the tuple to check for absencearg1
- the tuple to store the resultarg2
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionBulkAsynchACC
,
BulkSynchACC
public boolean no_s_4(alice.tuprolog.Term event, alice.tuprolog.Term guards, alice.tuprolog.Term reactionBody, alice.tuprolog.Term arg3) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
no_s
TuCSoN primitive.event
- the template for the TuCSoN primitive to react toguards
- the template for the guard predicates to be checked for
satisfaction so to actually trigger the body of the ReSpecT
reactionreactionBody
- the template for the computation to be done in response to the
event
arg3
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public boolean nop_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
nop
TuCSoN primitive.arg0
- the tuple to check for absencearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean nop_s_4(alice.tuprolog.Term event, alice.tuprolog.Term guards, alice.tuprolog.Term reactionBody, alice.tuprolog.Term arg3) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
nop_s
TuCSoN primitive.event
- the template for the TuCSoN primitive to react toguards
- the template for the guard predicates to be checked for
satisfaction so to actually trigger the body of the ReSpecT
reactionreactionBody
- the template for the computation to be done in response to the
event
arg3
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public boolean out_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
out
TuCSoN primitive.arg0
- the tuple to insertarg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean out_all_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
out_all
TuCSoN primitive.arg0
- the tuple list of tuples to insertarg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionBulkAsynchACC
,
BulkSynchACC
public boolean out_s_4(alice.tuprolog.Term event, alice.tuprolog.Term guards, alice.tuprolog.Term reactionBody, alice.tuprolog.Term arg3) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
out_s
TuCSoN primitive.event
- the TuCSoN primitive to react toguards
- the guard predicates to be checked for satisfaction so to
actually trigger the body of the ReSpecT reactionreactionBody
- the computation to be done in response to the
event
arg3
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public boolean rd_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
rd
TuCSoN primitive.arg0
- the tuple to read (w/o removing)arg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean rd_all_3(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1, alice.tuprolog.Term arg2) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
rd_all
TuCSoN primitive.arg0
- the tuple to read (w/o removing)arg1
- the tuple to store the resultarg2
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionBulkAsynchACC
,
BulkSynchACC
public boolean rd_s_4(alice.tuprolog.Term event, alice.tuprolog.Term guards, alice.tuprolog.Term reactionBody, alice.tuprolog.Term arg3) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
rd_s
TuCSoN primitive.event
- the template for the TuCSoN primitive to react toguards
- the template for the guard predicates to be checked for
satisfaction so to actually trigger the body of the ReSpecT
reactionreactionBody
- the template for the computation to be done in response to the
event
arg3
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public boolean rdp_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
rdp
TuCSoN primitive.arg0
- the tuple to read (w/o removing)arg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean rdp_s_4(alice.tuprolog.Term event, alice.tuprolog.Term guards, alice.tuprolog.Term reactionBody, alice.tuprolog.Term arg3) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
rdp_s
TuCSoN primitive.event
- the template for the TuCSoN primitive to react toguards
- the template for the guard predicates to be checked for
satisfaction so to actually trigger the body of the ReSpecT
reactionreactionBody
- the template for the computation to be done in response to the
event
arg3
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public boolean release_acc_0() throws TucsonOperationNotPossibleException
true
if the operation succeed, false
otherwiseTucsonOperationNotPossibleException
- if the requested operation cannot be carried outpublic boolean set_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
set
TuCSoN primitive.arg0
- the tuple list of tuples to overwrite the spacearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean set_s_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
set_s
TuCSoN primitive.arg0
- the tuple list of ReSpecT specification tuples to overwrite
the specification spacearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionSpecificationAsynchACC
,
SpecificationSynchACC
public boolean spawn_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
spawn
TuCSoN primitive.arg0
- the activity to spawnarg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionOrdinaryAsynchACC
,
OrdinarySynchACC
public boolean uin_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
uin
TuCSoN primitive.arg0
- the tuple to probabilistically retrievearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionUniformAsynchACC
,
UniformSynchACC
public boolean uinp_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
uinp
TuCSoN primitive.arg0
- the tuple to probabilistically retrievearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionUniformAsynchACC
,
UniformSynchACC
public boolean uno_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
uno
TuCSoN primitive.arg0
- the tuple to probabilistically check for absencearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionUniformAsynchACC
,
UniformSynchACC
public boolean unop_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
unop
TuCSoN primitive.arg0
- the tuple to probabilistically check for absencearg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionUniformAsynchACC
,
UniformSynchACC
public boolean urd_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
urd
TuCSoN primitive.arg0
- the tuple to probabilistically read (w/o removing)arg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionUniformAsynchACC
,
UniformSynchACC
public boolean urdp_2(alice.tuprolog.Term arg0, alice.tuprolog.Term arg1) throws TucsonInvalidTupleCentreIdException, TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
urdp
TuCSoN primitive.arg0
- the tuple to probabilistically read (w/o removing)arg1
- the tuplecentre targettrue
if the operation succeed, false
otherwiseTucsonInvalidTupleCentreIdException
- if the given Term does not represent a valid TuCSoN
identifierTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionUniformAsynchACC
,
UniformSynchACC