Package jadex.micro.philosophers.agents
Interface ITableService
- All Known Implementing Classes:
TableAgent
public interface ITableService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPhilosopher
(int no) jadex.future.IFuture
<Void> getLeftStick
(int no) jadex.future.IFuture
<jadex.core.IExternalAccess> getPhilosopher
(int no) jadex.future.IFuture
<Void> getRightStick
(int no) jadex.future.IFuture
<jadex.core.IExternalAccess> getStickOwner
(int no) void
jadex.future.IFuture
<Boolean> void
void
releaseLeftStick
(int no) void
releaseRightStick
(int no)
-
Method Details
-
addPhilosopher
void addPhilosopher(int no) -
getPhilosopher
jadex.future.IFuture<jadex.core.IExternalAccess> getPhilosopher(int no) -
getStickOwner
jadex.future.IFuture<jadex.core.IExternalAccess> getStickOwner(int no) -
notifyAllPhilosophers
void notifyAllPhilosophers() -
getLeftStick
-
getRightStick
-
releaseLeftStick
void releaseLeftStick(int no) -
releaseRightStick
void releaseRightStick(int no) -
isWaitForClicks
jadex.future.IFuture<Boolean> isWaitForClicks() -
invertWaitForClicks
void invertWaitForClicks()
-