cz.zcu.ups.arcaoftpd.client
Class ClientHandler

java.lang.Object
  extended by java.lang.Thread
      extended by cz.zcu.ups.arcaoftpd.client.ClientHandler
All Implemented Interfaces:
Runnable

public class ClientHandler
extends Thread

Trida starajici se o pripojeneho klienta, obsluhuje vsechny poslane prikazy

Author:
Arcao

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ClientHandler(ClientParameters clientParameters)
          Konstruktor tridy
 
Method Summary
 void dispose()
          Uvolni vsechny zdroje
 void run()
          Hlavni fuknkce vlakna, stara se o nacitani vstupu ze soketu a pripadne vykonani prikazu
 
Methods inherited from class java.lang.Thread
activeCount, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, checkAccess, 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

ClientHandler

public ClientHandler(ClientParameters clientParameters)
Konstruktor tridy

Parameters:
clientParameters - informace o pripojenem klientovi
Method Detail

run

public void run()
Hlavni fuknkce vlakna, stara se o nacitani vstupu ze soketu a pripadne vykonani prikazu

Specified by:
run in interface Runnable
Overrides:
run in class Thread

dispose

public void dispose()
Uvolni vsechny zdroje