FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaExercises/Java 2/J2Lesson8/IConstants.java at master · biblelamp/JavaExercises · GitHub
biblelamp
/
JavaExercises
Public
Notifications
You must be signed in to change notification settings
Fork
130
Star
153
Code
Issues
1
Pull requests
9
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaExercises
/
Java 2
/
J2Lesson8
/
IConstants.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (20 loc) · 1002 Bytes
Breadcrumbs
JavaExercises
/
Java 2
/
J2Lesson8
/
IConstants.java
Copy path
File metadata and controls
20 lines (20 loc) · 1002 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
interface
IConstants
{
final
String
DRIVER_NAME
=
"org.sqlite.JDBC"
;
final
String
SQLITE_DB
=
"jdbc:sqlite:chat.db"
;
final
String
SERVER_ADDR
=
"localhost"
;
// server net name or "127.0.0.1"
final
int
SERVER_PORT
=
2048
;
// servet port
final
String
SERVER_START
=
"Server is started..."
;
final
String
SERVER_STOP
=
"Server stopped."
;
final
String
CLIENT_JOINED
=
" client joined."
;
final
String
CLIENT_DISCONNECTED
=
" disconnected."
;
final
String
CLIENT_PROMPT
=
"$ "
;
// client prompt
final
String
LOGIN_PROMPT
=
"Login: "
;
final
String
PASSWD_PROMPT
=
"Passwd: "
;
final
String
AUTH_SIGN
=
"auth"
;
final
String
AUTH_FAIL
=
"Authentication failure."
;
final
String
SQL_SELECT
=
"SELECT * FROM users WHERE login=?"
;
final
String
PASSWD_COL
=
"passwd"
;
final
String
CONNECT_TO_SERVER
=
"Connection to server established."
;
final
String
CONNECT_CLOSED
=
"Connection closed."
;
final
String
EXIT_COMMAND
=
"exit"
;
// command for exit
}
Back
|
FazBrowse Home
|
New Git URL