sg.edu.nus.peer.request
Class BootstrapPnPHandler

java.lang.Object
  extended by sg.edu.nus.peer.request.UDPHandler
      extended by sg.edu.nus.peer.request.BootstrapPnPHandler
All Implemented Interfaces:
java.lang.Runnable

public class BootstrapPnPHandler
extends UDPHandler

A particular UDPHandler is responsible for processing MsgType.PING, MsgType.PONG, and MsgType.TROUBLESHOOT messages from server peers.

Version:
1.0 2006-9-26
Author:
Xu Linhao
See Also:
UDPHandler, BootstrapPnPReceiver

Constructor Summary
BootstrapPnPHandler(java.net.DatagramSocket ds)
          Construct the handler with a datagram socket.
 
Method Summary
 
Methods inherited from class sg.edu.nus.peer.request.UDPHandler
addUDPListener, processRequest, removeUDPListener, run, stop, stopAllHandlers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapPnPHandler

public BootstrapPnPHandler(java.net.DatagramSocket ds)
Construct the handler with a datagram socket.

Parameters:
ds - the datagram socket