All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----ants.Entity
|
+----ants.ManagedObject
|
+----ants.InChannel
THIS IS THE UNIT OF RESOURCE CONSUMPTION. One InChannel per protocol is created. InChannels can be instantiated for both locally installed protocols and those loaded on demand.
An InChannel is associated with a flow handle that is its source of packets to decode and process. Each InChannel will instantiate incoming Capsules in a separate name space. This is done by providing a separate class loader.
In ANTS 1.2, this used to be ChannelThread. I'm not really happy with the name "InChannel", however. A better name might be "ProtocolProcessor".
public InChannel(Node node,
Protocol p,
String name,
boolean replenish)
public InChannel(Node node,
boolean replenish)
protected Capsule decode(Buffer buf) throws Exception
public Capsule receive() throws Exception
public void start()
public FlowHandle getFlowHandle()
public void run()
All Packages Class Hierarchy This Package Previous Next Index