All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ants.UDPChannel

java.lang.Object
   |
   +----ants.Entity
           |
           +----ants.ManagedObject
                   |
                   +----ants.Channel
                           |
                           +----ants.UDPChannel

public class UDPChannel
extends Channel
UDP channel for nodes.

This channel implements the ANEP protocol.


Constructor Index

 o UDPChannel(Manager, String, String)
 o UDPChannel(Manager, String, UDPChannelAddress)

Method Index

 o attachNode(Node)
 o send(byte[], int, ChannelAddress)

Constructors

 o UDPChannel
 public UDPChannel(Manager b,
                   String n,
                   UDPChannelAddress src) throws IOException
 o UDPChannel
 public UDPChannel(Manager b,
                   String n,
                   String hp) throws Exception

Methods

 o send
 public boolean send(byte buf[],
                     int length,
                     ChannelAddress dst)
Overrides:
send in class Channel
 o attachNode
 public void attachNode(Node c)
Overrides:
attachNode in class Channel

All Packages  Class Hierarchy  This Package  Previous  Next  Index