All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Common.Dispatcher

java.lang.Object
   |
   +----java.util.Observable
           |
           +----Common.Dispatcher

public class Dispatcher
extends Observable
implements Observer

Variable Index

 o connexionTerminee
 o id
 o od
 o socket

Constructor Index

 o Dispatcher(Socket)
Création des InputData et OutputDate associée au Dispatcher

Method Index

 o stoppeConnexion()
Termine la conneciton et envoie le message "Connexion interrupted by foreign host" au correspondant
 o update(Observable, Object)
Gestion des données recues.

Variables

 o socket
 protected Socket socket
 o id
 protected InputDataSocket id
 o od
 protected OutputDataSocket od
 o connexionTerminee
 protected boolean connexionTerminee

Constructors

 o Dispatcher
 public Dispatcher(Socket socket)
Création des InputData et OutputDate associée au Dispatcher

Methods

 o stoppeConnexion
 public void stoppeConnexion()
Termine la conneciton et envoie le message "Connexion interrupted by foreign host" au correspondant

 o update
 public void update(Observable ob,
                    Object o)
Gestion des données recues.

Parameters:
ob - Observable
o - java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index