LaColla.core.util
Class SendMSGThread

java.lang.Object
  extended by java.lang.Thread
      extended by LaColla.core.util.SendMSGThread
All Implemented Interfaces:
java.lang.Runnable

public class SendMSGThread
extends java.lang.Thread

Author:
Xavier Created on 23-dic-2004 by Xavier into LaColla.core.util

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SendMSGThread(pkt p, java.lang.String destinationPeerName, int portNumber, Put put)
           
 
Method Summary
 java.lang.String getDestiny()
           
 pkt getP()
           
 int getPort()
           
 Put getPut()
           
 void run()
           
 void setDestiny(java.lang.String destiny)
           
 void setP(pkt p)
           
 void setPort(int port)
           
 void setPut(Put put)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMSGThread

public SendMSGThread(pkt p,
                     java.lang.String destinationPeerName,
                     int portNumber,
                     Put put)
Parameters:
p -
destinationPeerName -
portNumber -
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

getDestiny

public java.lang.String getDestiny()
Returns:
Returns the destiny.

setDestiny

public void setDestiny(java.lang.String destiny)
Parameters:
destiny - The destiny to set.

getP

public pkt getP()
Returns:
Returns the p.

setP

public void setP(pkt p)
Parameters:
p - The p to set.

getPort

public int getPort()
Returns:
Returns the port.

setPort

public void setPort(int port)
Parameters:
port - The port to set.

getPut

public Put getPut()
Returns:
Returns the put.

setPut

public void setPut(Put put)
Parameters:
put - The put to set.