sg.edu.nus.peer.request
Class ClientPnPHandler

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

public class ClientPnPHandler
extends UDPHandler

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

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

Constructor Summary
ClientPnPHandler(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

ClientPnPHandler

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

Parameters:
ds - the datagram socket