Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
varie aggiunte a Session e creazione sistema di scambio messaggi
- Loading branch information
Davide Valsecchi
committed
Jul 27, 2012
1 parent
19328ef
commit aa294ee
Showing
8 changed files
with
200 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package it.valsecchi.polypserver.connection; | ||
|
||
/** | ||
* Enumeratore che rappresenta i messaggi che si scambiano PolypServer e Client; | ||
* @author Davide Valsecchi | ||
* | ||
*/ | ||
public enum PMessage { | ||
|
||
/** Comunicazione andata a buon fine*/ | ||
OK, | ||
/** Errore generico*/ | ||
ERROR, | ||
/** Errore trasmissione lista file*/ | ||
ERRORE_LISTA_FILE, | ||
/** Password scorretta*/ | ||
WRONG_PASSWORD, | ||
/** Utente già connesso*/ | ||
ALREADY_CONNECTED, | ||
/** Utente correttamente connesso*/ | ||
CONNECTED, | ||
/** Utente sincronizzato*/ | ||
SYNCHRONIZED; | ||
|
||
|
||
|
||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.