cz.zcu.ups.arcaoftpd.connection
Class PassiveConnection

java.lang.Object
  extended by java.lang.Thread
      extended by cz.zcu.ups.arcaoftpd.connection.Connection
          extended by cz.zcu.ups.arcaoftpd.connection.PassiveConnection
All Implemented Interfaces:
Runnable

public class PassiveConnection
extends Connection

Trida obsluhuje pasivni pripojeni klienta

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
PassiveConnection(ClientParameters clientParameters)
          Konstruktor tridy
 
Method Summary
 void dispose()
          Uvolni pouzite prostredky
 void run()
          Funkce pocka, nez se pripoji klient, pak spusti prirazenou akci
 
Methods inherited from class cz.zcu.ups.arcaoftpd.connection.Connection
connect, getAction, getClientParameters, getSocket, setAction, setClientParameters, setSocket
 
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

PassiveConnection

public PassiveConnection(ClientParameters clientParameters)
Konstruktor tridy

Parameters:
clientParameters - informace o pripojenem klientovi
Method Detail

run

public void run()
Funkce pocka, nez se pripoji klient, pak spusti prirazenou akci

Specified by:
run in interface Runnable
Specified by:
run in class Connection

dispose

public void dispose()
Uvolni pouzite prostredky

Specified by:
dispose in class Connection