lezione6.scommesse.server
Class BetServer.SendKey

java.lang.Object
  extended by java.lang.Thread
      extended by lezione6.scommesse.server.BetServer.SendKey
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
BetServer

private class BetServer.SendKey
extends java.lang.Thread

Thread per la gestione dell'invio della chiave pubblica

Author:
Raffaele Giordanelli

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  int sendKeyPort
           
private  java.net.ServerSocket servSendKey
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BetServer.SendKey(int p)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sendKeyPort

private int sendKeyPort

servSendKey

private java.net.ServerSocket servSendKey
Constructor Detail

BetServer.SendKey

BetServer.SendKey(int p)
Method Detail

run

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