All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----ants.Entity | +----ants.ManagedObject | +----ants.Channel
The abstract class Channel knows how to encode outgoing capsules. Subclasses, such as UDPChannel, implement the actual send operation.
public ChannelAddress source
public Node client
public int clientAddress
protected Buffer txbuf
protected static int ANTSVERSION
public Channel(Manager b, String n, ChannelAddress src)
public Channel(Manager b, String n, ChannelAddress src, int q)
public Xdr encode(Capsule cap)
This writes the ANEP and ANTS header for an outgoing capsule in its associated Xdr.
public void attachNode(Node c)
public final boolean send(Capsule cap, ChannelAddress dst)
public static Channel New(Manager b, String n, String src) throws Exception
All Packages Class Hierarchy This Package Previous Next Index