Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B D E F G H I L M N O P R S T V W Z

A

AgentId - interface alice.tuplemedium.AgentId.
Represents an agent identifier It's used inside tuple centre to identify an agent interacting with the medium.
acceptEvent(Event) - Method in class alice.tuplemedium.TupleCentreVM
Accepts a communication event It is the input service of the tuple centre machine, the only way to make the virtual machine aware of an external event to be processed.
add(Event) - Method in interface alice.tuplemedium.EventSet
Adds an event to the multiset
add(TriggeredReaction) - Method in interface alice.tuplemedium.TRSet
Adds a triggered reaction to the multiset
add(Tuple) - Method in interface alice.tuplemedium.TupleSet
Adds a tuple to the multiset
addObservableEventListener(ObservableEventListener) - Method in class alice.tuplemedium.TupleCentreVM
Registers a new listener to observable events
alice.tuplemedium - package alice.tuplemedium
 
arg - Variable in class alice.tuplemedium.ObservableEvent
auxiliary information about the event

B

beginTransaction() - Method in interface alice.tuplemedium.TRSet
Begins a transaction section Every operation on multiset can be undone
beginTransaction() - Method in interface alice.tuplemedium.TupleSet
Begins a transaction section Every operation on multiset can be undone
bootTime - Variable in class alice.tuplemedium.TupleCentreVM
tuple centre boot time in ms

D

direction - Variable in class alice.tuplemedium.Event
the direction of the event (from tuple centre to agent or viceversa)

E

Event - class alice.tuplemedium.Event.
Represents internal events of the tuple centre virtual machine According to the tuple centre model, an event is characterised by the operation which caused the event, the tuple or the tuple template as information content of the operation, the direction of the event (from agent to the tuple centre, or viceversa), the identification of the agent responsible of the operation, the identification of the tuple centre where the event has happened.
Event() - Constructor for class alice.tuplemedium.Event
 
Event(Long, AgentId, EventOperation, TupleCentreId, int, Tuple, TupleTemplate) - Constructor for class alice.tuplemedium.Event
 
EventDirection - class alice.tuplemedium.EventDirection.
this class defines the direction of a tuple centre event from virtual machine to outside, with success from virtual machine to outside, with failure from outside to virtual machine
EventDirection() - Constructor for class alice.tuplemedium.EventDirection
 
EventOperation - class alice.tuplemedium.EventOperation.
Defines the possible operation types which caused an tuple centre virtual machine event, according to the coordination language of the tuple medium The string representation of the operation involves the name of the operation and the number of argument it requires.
EventOperation() - Constructor for class alice.tuplemedium.EventOperation
 
EventSet - interface alice.tuplemedium.EventSet.
Specifies the services which must be provided by component inside tuple centre virtual machine that manages communication events as a multiset
empty() - Method in interface alice.tuplemedium.EventSet
Empties the multiset
empty() - Method in interface alice.tuplemedium.TRSet
Empties the multiset
empty() - Method in interface alice.tuplemedium.TupleSet
Empties the multiset
endTransaction(boolean) - Method in interface alice.tuplemedium.TRSet
Ends a transaction section specifying if operations must be committed or undone
endTransaction(boolean) - Method in interface alice.tuplemedium.TupleSet
Ends a transaction section specifying if operations must be committed or undone
ev - Variable in class alice.tuplemedium.ReceiverInfo
 
evTimeStamp - Variable in class alice.tuplemedium.TupleCentreVMImpl
unique event timestamp, incremented each time a communication event is generated
evalReaction(TriggeredReaction) - Method in interface alice.tuplemedium.Reactor
Evaluates (executes) a reaction.
event - Variable in class alice.tuplemedium.TriggeredReaction
the event triggering the reaction
eventVMListeners - Variable in class alice.tuplemedium.TupleCentreVM
listener to observable virtual machine event (not communication event)

F

FROMSPACE_FAIL - Static variable in class alice.tuplemedium.EventDirection
 
FROMSPACE_SUCCESS - Static variable in class alice.tuplemedium.EventDirection
 
fetchTriggeredReactions(Event) - Method in class alice.tuplemedium.TupleCentreVM
Collects triggered reaction in zSet

G

GETSPEC - Static variable in class alice.tuplemedium.EventOperation
 
get() - Method in interface alice.tuplemedium.EventSet
Gets (with removal) not-deterministically an event from the mset
get() - Method in interface alice.tuplemedium.TRSet
Gets not-deterministically (with removal) a triggered reaction from the multiset
getArg() - Method in class alice.tuplemedium.ObservableEvent
Gets the auxiliary information provided by the event
getBootTime() - Method in class alice.tuplemedium.TupleCentreVM
gets virtual machine boot time
getCurrentTime() - Method in class alice.tuplemedium.TupleCentreVM
gets current virtual machine time
getFirstMatching(TupleSet) - Method in interface alice.tuplemedium.EventSet
Gets (with removal) non-deterministically an event with a tuple template matching a tuple in the specified tuple set
getId() - Method in class alice.tuplemedium.TupleCentreVMImpl
Gets the identifier of the tuple centre
getIterator() - Method in interface alice.tuplemedium.EventSet
Gets an iterator to navigate through the elements of the multiset
getIterator() - Method in interface alice.tuplemedium.TRSet
Gets an iterator to navigate through triggered reactions
getIterator() - Method in interface alice.tuplemedium.TupleSet
Gets an iterator to navigate through tuples of the multiset
getMatchingTuple(TupleTemplate) - Method in interface alice.tuplemedium.TupleSet
Gets (and removes) non-deterministically a tuple of the multiset matching the template specified
getReactionSpec() - Method in interface alice.tuplemedium.Reactor
Gets the current reactive behaviour of the tuple centre
getReactor() - Method in class alice.tuplemedium.TupleCentreVM
gets raective component of the vm
getSpec(TupleTemplate, AgentId, VMListener) - Method in class alice.tuplemedium.TupleCentreVMImpl
Sends a getSpec message to the tuple centre virtual machine (the getSpec gets current behaviour specification of the tuple centre)
getTRSet() - Method in class alice.tuplemedium.TupleCentreVM
gets triggered event set
getTSet() - Method in class alice.tuplemedium.TupleCentreVM
gets tuple set
getTime() - Method in class alice.tuplemedium.ObservableEvent
Gets the time at which the event has been observed inside the tuple centre VM
getTriggeredReactions(Event) - Method in interface alice.tuplemedium.Reactor
Gets the reactions triggered by a communication event It represents the reaction specification function sigma.Z(event) of tuple centre formal model
getType() - Method in class alice.tuplemedium.ObservableEvent
Gets the type of the event
getWnSet() - Method in class alice.tuplemedium.TupleCentreVM
gets unsatisfied event set

H

hasMatchingTuple(TupleTemplate) - Method in interface alice.tuplemedium.TupleSet
Checks if exists a tuple inside the tuple set matching the template

I

IN - Static variable in class alice.tuplemedium.EventOperation
 
INP - Static variable in class alice.tuplemedium.EventOperation
 
InvalidTupleException - exception alice.tuplemedium.InvalidTupleException.
This exception is thrown when a not well-formed tuple is found, for instance when invoking a coordination language primitive with a null tuple.
InvalidTupleException() - Constructor for class alice.tuplemedium.InvalidTupleException
 
InvalidTupleTemplateException - exception alice.tuplemedium.InvalidTupleTemplateException.
This exception is thrown when a not well-formed tuple template is found, for instance when invoking a coordination language primitive with a null tuple template.
InvalidTupleTemplateException() - Constructor for class alice.tuplemedium.InvalidTupleTemplateException
 
id - Variable in class alice.tuplemedium.Event
a unique id identifying the event
id - Variable in class alice.tuplemedium.TupleCentreVMImpl
 
idAgent - Variable in class alice.tuplemedium.Event
the identifier of the agent involved in the event
idTupleCentre - Variable in class alice.tuplemedium.Event
the identifier of the tuple centre where the event took place
in(TupleTemplate, AgentId, VMListener) - Method in class alice.tuplemedium.TupleCentreVMImpl
Sends an in message to the tuple centre virtual machine (the in gets a matching tuple from tuple centre)
inp(TupleTemplate, AgentId, VMListener) - Method in class alice.tuplemedium.TupleCentreVMImpl
Sends an inp message to the tuple centre virtual machine (the inp gets if present a matching tuple from tuple centre)
inputEvents - Variable in class alice.tuplemedium.TupleCentreVM
input event queue
isEmpty() - Method in interface alice.tuplemedium.EventSet
tests if multiset is empty
isEmpty() - Method in interface alice.tuplemedium.TRSet
Tests if the multiset is empty
isEmpty() - Method in interface alice.tuplemedium.TupleSet
Tests if the multiset is empty

L

listen(Event) - Method in class alice.tuplemedium.TupleCentreVM
listening transition

M

match(Tuple) - Method in interface alice.tuplemedium.TupleTemplate
specifies if the tuple template matches the tuple, or rather if tuples bolongs to the set identified by the template.

N

notify(Event) - Method in interface alice.tuplemedium.VMListener
This service is invoked (by a tuple centre virtual machine able to dispatch output events) when a new output communication is produced
notifyObservableEvent(ObservableEvent) - Method in class alice.tuplemedium.TupleCentreVM
Notifies registered listeners of a new observable event
notifyOutputEvents() - Method in class alice.tuplemedium.TupleCentreVM
Specifies how to dispatch output events (collected in outputEventSet) to related agents
notifyOutputEvents() - Method in class alice.tuplemedium.TupleCentreVMImpl
Dispatches output events to receivers

O

OUT - Static variable in class alice.tuplemedium.EventOperation
 
ObservableEvent - class alice.tuplemedium.ObservableEvent.
Represents observable (by inspectors) events happening inside tuple centre virtual machine
ObservableEvent(Object, int) - Constructor for class alice.tuplemedium.ObservableEvent
 
ObservableEvent(Object, int, Object) - Constructor for class alice.tuplemedium.ObservableEvent
 
ObservableEventListener - interface alice.tuplemedium.ObservableEventListener.
Defines listeners of tuple centre virtual machine observable events (actually inspectors)
onNewVMStableState() - Method in interface alice.tuplemedium.Reactor
invoked by the tuple centre virtual machine when stable state is reached
onObservableEvent(ObservableEvent) - Method in interface alice.tuplemedium.ObservableEventListener
Method triggered by the tuple centre virtual machine when an observable event is observed inside the VM
operation - Variable in class alice.tuplemedium.Event
the type of the operation which caused the event
out(Tuple, AgentId, VMListener) - Method in class alice.tuplemedium.TupleCentreVMImpl
Sends an out message to the tuple centre virtual machine (the out puts a tuple in tuple centre)
outputEventSet - Variable in class alice.tuplemedium.TupleCentreVM
multiset of not satisfiable pending queries Wn - W/(Wn+Wp)

P

propagate(Tuple) - Method in interface alice.tuplemedium.TupleTemplate
tries to change the tuple template object and the tuple argument in order to meld information

R

RD - Static variable in class alice.tuplemedium.EventOperation
 
RDP - Static variable in class alice.tuplemedium.EventOperation
 
Reaction - interface alice.tuplemedium.Reaction.
Represents the reaction concept of tuple centre model.
Reactor - interface alice.tuplemedium.Reactor.
Defines the tuple centre reactive behaviour, which is the core of its coordination ability.
ReceiverInfo - class alice.tuplemedium.ReceiverInfo.
Keeps track of virtual machine communication event listeners
ReceiverInfo(Event, VMListener) - Constructor for class alice.tuplemedium.ReceiverInfo
 
rd(TupleTemplate, AgentId, VMListener) - Method in class alice.tuplemedium.TupleCentreVMImpl
Sends a rd message to the tuple centre virtual machine (the rd gets without removing a matching tuple from tuple centre)
rdp(TupleTemplate, AgentId, VMListener) - Method in class alice.tuplemedium.TupleCentreVMImpl
Sends a rdp message to the tuple centre virtual machine (the rdp gets without removing if present a matching tuple from tuple centre)
react() - Method in class alice.tuplemedium.TupleCentreVM
Reaction transition
reaction - Variable in class alice.tuplemedium.TriggeredReaction
the reaction triggered
reactionSpec - Variable in class alice.tuplemedium.TupleCentreVM
reactions specification (tuple centre reaction behaviour)
reactor - Variable in class alice.tuplemedium.TupleCentreVM
reactions manager
readMatchingTuple(TupleTemplate) - Method in interface alice.tuplemedium.TupleSet
Gets (wtihout removal) non-deterministically a tuple of the multiset matching the template specified
receiver - Variable in class alice.tuplemedium.ReceiverInfo
 
receiversMap - Variable in class alice.tuplemedium.TupleCentreVMImpl
registered listeners of communication events generated by the virtual machine (that are tuple centre clients)
removeAgentEvents(AgentId) - Method in class alice.tuplemedium.TupleCentreVMImpl
removes all pending events of an agent
removeEventsOf(AgentId) - Method in interface alice.tuplemedium.EventSet
Removes all the events with a specified agent identifier
removeEventsOf(AgentId) - Method in class alice.tuplemedium.TupleCentreVM
Removes all events of specified agent This services is executed in paraller to the virtual machine thread of control.
removeObservableEventListener(ObservableEventListener) - Method in class alice.tuplemedium.TupleCentreVM
Removes (if present) a listener to observable events
reset() - Method in interface alice.tuplemedium.Reactor
Resets the reactive component of the machine
reset() - Method in class alice.tuplemedium.TupleCentreVM
resets the virtual machine to boot state
run() - Method in class alice.tuplemedium.TupleCentreVM
Expresses the behaviour of the thread of control of the virtual machine

S

SETSPEC - Static variable in class alice.tuplemedium.EventOperation
 
setArgument(Object) - Method in class alice.tuplemedium.TupleCentreVMImpl
Specifies auxiliary information used to initialize tuple centre virtual machine, which depends on the specific tuple centre model
setId(TupleCentreId) - Method in class alice.tuplemedium.TupleCentreVMImpl
Specifies the identifier of the tuple centre
setReactionSpec(Tuple) - Method in interface alice.tuplemedium.Reactor
Sets the specification describing the reactive behaviour It's like the program specyfing the behaviour of the tuple centre reacting to communication events.
setSpec(Tuple, AgentId, VMListener) - Method in class alice.tuplemedium.TupleCentreVMImpl
Sends a setSpec message to the tuple centre virtual machine (the setSpec sets a new behaviour of the tuple centre)
size() - Method in interface alice.tuplemedium.EventSet
Gets the number of events inside the multiset
size() - Method in interface alice.tuplemedium.TupleSet
Gets the number of tuples inside the multiset
speak() - Method in class alice.tuplemedium.TupleCentreVM
speaking transition (see articles).
spy(String) - Method in class alice.tuplemedium.TupleCentreVM
 
spyState() - Method in class alice.tuplemedium.TupleCentreVM
 
sub(Event) - Method in interface alice.tuplemedium.EventSet
Removes (if present) an event from multiset
sub(TriggeredReaction) - Method in interface alice.tuplemedium.TRSet
Removes a triggered reaction from the multiset
sub(Tuple) - Method in interface alice.tuplemedium.TupleSet
Removes a tuple to the multiset

T

TOSPACE - Static variable in class alice.tuplemedium.EventDirection
 
TRSet - interface alice.tuplemedium.TRSet.
Specifies the services which must be provided by the component inside the tuple centre virtual machine collecting and managing triggered reactions as a multiset An important aspect of the component implementing this interface is the ability to execute transactions, that is execute sequence of operations that could be commited or asked to be undone.
TYPE_NEWSTATE - Static variable in class alice.tuplemedium.ObservableEvent
constant tag identifying new state reached by tuple centre VM
TYPE_REACTIONFAIL - Static variable in class alice.tuplemedium.ObservableEvent
constant tag identifying a failed reaction happened inside tuple centre VM
TYPE_REACTIONOK - Static variable in class alice.tuplemedium.ObservableEvent
constant tag identifying a succesfull reaction happened inside tuple centre VM
TriggeredReaction - class alice.tuplemedium.TriggeredReaction.
Represents a reaction which has been triggered inside a tuple centre by a specific event
TriggeredReaction(Event, Reaction) - Constructor for class alice.tuplemedium.TriggeredReaction
 
Tuple - interface alice.tuplemedium.Tuple.
Defines the information content of tuple centre and exchanged thorugh interactions.
TupleCentreId - interface alice.tuplemedium.TupleCentreId.
Represents identifier for a tuple centre
TupleCentreVM - class alice.tuplemedium.TupleCentreVM.
Defines the core behaviour of a tuple centre virtual machine.
TupleCentreVM() - Constructor for class alice.tuplemedium.TupleCentreVM
 
TupleCentreVMImpl - class alice.tuplemedium.TupleCentreVMImpl.
This class extends base virtual machine core in order to make the tuple centre reachable with a proper interface and specifying a way to dispatch output events.The concept of VMListener is introduced to identify targets of output communication events.
TupleCentreVMImpl() - Constructor for class alice.tuplemedium.TupleCentreVMImpl
 
TupleSet - interface alice.tuplemedium.TupleSet.
Specifies the services which must be provided by the component inside the tuple centre virtual machine collecting and managing tuples as a multiset An important aspect of the component implementing this interface is the ability to execute transactions, that is execute sequence of operations that could be commited or asked to be undone.
TupleTemplate - interface alice.tuplemedium.TupleTemplate.
Defines the template used to retrieve tuple information from Tuple Centres, thorugh interactions.
tSet - Variable in class alice.tuplemedium.TupleCentreVM
multiset of tuples T
template - Variable in class alice.tuplemedium.Event
if speficied, the information template content of the operation
time - Variable in class alice.tuplemedium.ObservableEvent
virtual machine time at which the event has been observed
toString() - Method in class alice.tuplemedium.Event
 
triggerReaction(Event) - Method in interface alice.tuplemedium.Reactor
Checks if any reaction is triggered by a communication event
tuple - Variable in class alice.tuplemedium.Event
if specified, the information content of the operation
type - Variable in class alice.tuplemedium.ObservableEvent
the type of the vent happened

V

VMListener - interface alice.tuplemedium.VMListener.
Defines the services that must be provided by any object which must receive commounication output events produced by a tuple centre

W

waitEvents() - Method in class alice.tuplemedium.TupleCentreVM
blocks the current thread waiting for event incoming pre condition: zSet, wsSet, wpSet empty and inputEvents empty
wnSet - Variable in class alice.tuplemedium.TupleCentreVM
multiset of not satisfiable pending queries Wn - W/(Wn+Wp)
wpSet - Variable in class alice.tuplemedium.TupleCentreVM
multiset of satisfiable pending queries Wp - predicatives (inp,rdp)
wsSet - Variable in class alice.tuplemedium.TupleCentreVM
multiset of satisfiable pending queries Ws - not predicatives (in,rd)

Z

zSet - Variable in class alice.tuplemedium.TupleCentreVM
multiset of triggered reactions Z

A B D E F G H I L M N O P R S T V W Z