public class Agent extends Object
Modifier and Type | Field and Description |
---|---|
(package private) org.jetlang.core.Callback<Runnable> |
callback
The incoming code is executed by this call back synchronously.
|
(package private) org.jetlang.channels.Channel<Runnable> |
channel
The dedicated in-vm memory channel for this agent.
|
(package private) org.jetlang.fibers.Fiber |
fiber
The fiber associated with this agent.
|
Constructor and Description |
---|
Agent() |
final org.jetlang.channels.Channel<Runnable> channel
final org.jetlang.fibers.Fiber fiber
final org.jetlang.core.Callback<Runnable> callback
public void send(Runnable code)
Copyright © 2013. All Rights Reserved.