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 sourceclient
public Node clientclientAddress
public int clientAddresstxbuf
protected Buffer txbufANTSVERSION
protected static int ANTSVERSION
public Channel(Manager b, String n, ChannelAddress src)Channel
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)send
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