All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class nodeos.FlowManager

java.lang.Object
   |
   +----nodeos.FlowManager

public class FlowManager
extends Object

Variable Index

 o UDPMTU
maximum datagram size for UDP

Constructor Index

 o FlowManager()

Method Index

 o registerUDP(int, FlowDispatcher)
Register a flow dispatcher to receive UDP packets for a given port.

Variables

 o UDPMTU
 public static final int UDPMTU
maximum datagram size for UDP

Constructors

 o FlowManager
 public FlowManager()

Methods

 o registerUDP
 public DatagramSocket registerUDP(int port,
                                   FlowDispatcher fh)
Register a flow dispatcher to receive UDP packets for a given port.

In the current usermode implementation, this spawns of a separate thread receiving packets on that port. These packets are then dispatched to the flow dispatcher.

Parameters:
port - UDP port to bind to.
fh - FlowDispatcher where packets are to be sent.

All Packages  Class Hierarchy  This Package  Previous  Next  Index