lhmc.network
Class SendHostName

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

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

SendHostName is a threaded class that sends a host name to the host that has made the petition.

Version:
0.01 Jun 2007
Author:
Cristina Roura Claver

Constructor Summary
SendHostName(java.net.InetAddress serverAddress, int port)
          SendHostName constructor.
 
Method Summary
 void run()
          Executes the SendHostName thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendHostName

public SendHostName(java.net.InetAddress serverAddress,
                    int port)
SendHostName constructor.

Parameters:
serverAddress - the address to send the new packet.
port - the port to send the new packet.
Method Detail

run

public void run()
Executes the SendHostName thread.

Specified by:
run in interface java.lang.Runnable