lhmc.network
Class ReceiveHostName

java.lang.Object
  extended by lhmc.network.ReceiveHostName
All Implemented Interfaces:
java.lang.Runnable

public class ReceiveHostName
extends java.lang.Object
implements java.lang.Runnable

ReceiveHostName is a threaded class that manages the received packet with the hostname.

Version:
0.01 Jun 2007
Author:
Cristina Roura Claver

Constructor Summary
ReceiveHostName(java.net.Socket socket, HostsVector hostsVector)
          ReceiveHostName constructor.
 
Method Summary
 void run()
          Executes the ReceiveHostName thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReceiveHostName

public ReceiveHostName(java.net.Socket socket,
                       HostsVector hostsVector)
ReceiveHostName constructor.

Parameters:
socket - the socket that recives the packet.
hostsVector - the hostsVector to be filled.
Method Detail

run

public void run()
Executes the ReceiveHostName thread.

Specified by:
run in interface java.lang.Runnable