Package serveur

Examples of serveur.Serveur


public class TestServeurChat {

  public static void main(String[] args) {
    try {
      new Serveur();
    } catch (RemoteException e) {
      System.err.println("Une erreur est survenue : le serveur est tout cassé");
      System.exit(1);
    }
  }
View Full Code Here


public class TestProfil {

  public static void main(String[] args) {

    try {
      new Serveur();
     
      Client.newProfil(new ProfilSocial("tarek", "azerty", "JAOUANI", "Tarek", Sexe.H));

      System.out.println(Client.getProfil("tarek").getNom());
    } catch (RemoteException e) {
View Full Code Here

   
    InputStreamReader lecteur = new InputStreamReader(System.in);
    BufferedReader in = new BufferedReader(lecteur);
   
    try {
      new Serveur();
     
      while (!ok) {
        System.out.print("Login : ");
        login = in.readLine();
 
View Full Code Here

  /**
   * @param args
   */
  public static void main(String[] args) {
    try {
      new Serveur();
    } catch (RemoteException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

public class TestServeur {

  public static void main(String[] args) {
    try {
      new Serveur();
    } catch (RemoteException e) {
      System.err.println("Une erreur est survenue durant la création du serveur : RemoteException");
      System.exit(1);
    }
  }
View Full Code Here

TOP

Related Classes of serveur.Serveur

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.