alice.respect
Class UserLocal
java.lang.Object
|
+--alice.respect.UserLocal
- All Implemented Interfaces:
- VMListener
- public class UserLocal
- extends java.lang.Object
- implements VMListener
this is the basic class for developing tuple media local user
in this case the user is local to the daemon
(which is unique inside a java VM)
this class serves as both acceptor and connector;
it is used to access only one tuple centre
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserLocal
public UserLocal(AgentId id_,
TupleCentreVMImpl core_)
getId
public AgentId getId()
out
public void out(LogicTuple t)
throws InvalidLogicTupleException
in
public LogicTuple in(LogicTuple t)
throws InvalidLogicTupleException
rd
public LogicTuple rd(LogicTuple t)
throws InvalidLogicTupleException
inp
public LogicTuple inp(LogicTuple t)
throws InvalidLogicTupleException
rdp
public LogicTuple rdp(LogicTuple t)
throws InvalidLogicTupleException
setSpec
public LogicTuple setSpec(LogicTuple t)
throws InvalidLogicTupleException
getSpec
public LogicTuple getSpec()
notify
public void notify(Event ev)
- Description copied from interface:
VMListener
- This service is invoked (by a tuple centre virtual machine
able to dispatch output events) when a new output communication
is produced
- Specified by:
notify in interface VMListener