-
Notifications
You must be signed in to change notification settings - Fork 9
server.JFilesServerThread
Logan Rickert edited this page Jan 14, 2017
·
1 revision
The main purpose of this class is to handle individual connections. Each new connection is a JFilesServerThread.
Package: server
Parameters:
-
parmServer- The JFilesServer instance -
parmSocket- The client socket.
Private:
JFilesServer serverSocket socketint idDataInputStream streamInDataOutputStream streamOut
Returns the client socket's port number.
Sends the message msg to the client.
Opens the streamIn and streamOut from the client's socket.
Closes the streamIn and streamOut from the client's socket.
Takes input in from socket and calls JFilesServer.handle()
- Home
- Course-Related Materials
- Development Environment
- Development Workflow
- Packages
- Guides
- Team Pages