Overview
Package
Class
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
A
action
- Variable in class ip1.ex14.
JFtpThread.QueueItem
The item code to perform.
actionPerformed(ActionEvent)
- Method in class ip1.ex1a.
ThreaderListener
actionPerformed(ActionEvent)
- Method in class ip1.ex2a.
BrowserWin
This gets called when the user presses return in the url field.
actionPerformed(ActionEvent)
- Method in class ip1.ex2b.
BrowserApplet
This gets called when the user presses return in the url field.
actionPerformed(ActionEvent)
- Method in class ip1.ex3a.
ChatClientWin
This gets called when the user presses return in the input field.
actionPerformed(ActionEvent)
- Method in class ip1.ex3b.
ChatServerWin
This gets called when the user presses return in the input field.
actionPerformed(ActionEvent)
- Method in class ip1.ex14.
JFtpWindow
This gets called when the user presses return in the url field or presses one of the window's buttons.
addChild(JFtpThread)
- Method in class ip1.ex14.
JFtpThread
Add a child thread.
addPoint(Point, boolean)
- Method in class ip1.ex4a.
Paper
addQueue(JFtpThread.QueueItem)
- Method in class ip1.ex14.
JFtpThread
Queue a command.
arg
- Variable in class ip1.ex14.
JFtpThread.QueueItem
Optional argument.
argMaxThreads
- Variable in class ip1.ex14.
JFtp
Do we use multithread?
argPassive
- Variable in class ip1.ex14.
JFtp
Do we use passive mode ?
args
- Variable in class ip1.ex14.
JFtpResponse
argUrl
- Variable in class ip1.ex14.
JFtp
Initial URL.
B
BAD
- Static variable in class ip1.ex14.
JFtpEntry
broadcast(String)
- Method in class ip1.ex3b.
ChatServerWin
Broadcasts a message to all clients.
Browser
- class ip1.ex2a.
Browser
.
The Browser class implements a rudimentary web browser.
Browser()
- Constructor for class ip1.ex2a.
Browser
BrowserApplet
- class ip1.ex2b.
BrowserApplet
.
The Browser class implements a rudimentary web browser.
BrowserApplet()
- Constructor for class ip1.ex2b.
BrowserApplet
BrowserWin
- class ip1.ex2a.
BrowserWin
.
The BrowserWin class is the window of the web browser.
BrowserWin()
- Constructor for class ip1.ex2a.
BrowserWin
The constructor sets up the UI and loads the start page.
browseTo(String)
- Method in class ip1.ex2a.
BrowserWin
Try browsing to the specified URL.
browseTo(String)
- Method in class ip1.ex2b.
BrowserApplet
Try browsing to the specified URL.
browseTo(URL)
- Method in class ip1.ex2b.
BrowserApplet
Try browsing to the specified URL.
btn
- Variable in class ip1.ex1a.
ThreaderListener
btnConnect
- Variable in class ip1.ex14.
JFtpWindow
The Connect button.
btnDisconnect
- Variable in class ip1.ex14.
JFtpWindow
The Disconnect button.
btnDownload
- Variable in class ip1.ex14.
JFtpWindow
The Download button.
btnLocalDelete
- Variable in class ip1.ex14.
JFtpWindow
The local Delete button.
btnLocalRefresh
- Variable in class ip1.ex14.
JFtpWindow
The local Refresh button.
btnQuit
- Variable in class ip1.ex14.
JFtpWindow
The Quit button.
btnRemoteDelete
- Variable in class ip1.ex14.
JFtpWindow
The remote Delete button.
btnRemoteRefresh
- Variable in class ip1.ex14.
JFtpWindow
The remote Refresh button.
btnUpload
- Variable in class ip1.ex14.
JFtpWindow
The Upload button.
C
charBuffer
- Variable in class ip1.ex14.
JFtpData
Character buffer for file transfers.
charBufferSize
- Static variable in class ip1.ex14.
JFtpData
Size of the buffer for file transfers.
ChatClient
- class ip1.ex3a.
ChatClient
.
The ChatClient class implements a rudimentary chat client.
ChatClient()
- Constructor for class ip1.ex3a.
ChatClient
ChatClientSocket
- class ip1.ex3a.
ChatClientSocket
.
The ChatClientSocket class implements a rudimentary chat client.
ChatClientSocket(String, int, JTextArea)
- Constructor for class ip1.ex3a.
ChatClientSocket
The constructor.
ChatClientWin
- class ip1.ex3a.
ChatClientWin
.
The ChatClientWin class is the window of the chat client.
ChatClientWin(String, int)
- Constructor for class ip1.ex3a.
ChatClientWin
The constructor sets up the GUI and listeners.
ChatServer
- class ip1.ex3b.
ChatServer
.
The ChatServer class implements a rudimentary chat server.
ChatServer()
- Constructor for class ip1.ex3b.
ChatServer
ChatServerThread
- class ip1.ex3b.
ChatServerThread
.
The ChatServerThread class implements a rudimentary chat client.
ChatServerThread(ChatServerWin, Socket)
- Constructor for class ip1.ex3b.
ChatServerThread
The constructor.
ChatServerWin
- class ip1.ex3b.
ChatServerWin
.
The ChatServerWin class is the window of the chat server.
ChatServerWin(int)
- Constructor for class ip1.ex3b.
ChatServerWin
The constructor sets up the GUI and listeners.
checkPassive
- Variable in class ip1.ex14.
JFtpWindow
Passive mode checkbox.
children
- Variable in class ip1.ex14.
JFtpThread
The thread's children.
code
- Variable in class ip1.ex14.
JFtpResponse
color
- Variable in class ip1.ex4a.
Paper.ColorPoint
connect(URL)
- Method in class ip1.ex14.
JFtp
Connects to an FTP server.
counter
- Static variable in class ip1.ex14.
JFtpThread
Instance counter.
CWD
- Static variable in class ip1.ex14.
JFtpControl.ControlQueueItem
Send a CWD command.
D
debug(String)
- Method in class ip1.ex14.
JFtpThread
Output a debugging message.
debug(String)
- Method in class ip1.ex14.
JFtp
Displays a message both in applet and standard output.
DELE
- Static variable in class ip1.ex14.
JFtpControl.ControlQueueItem
Send a PWD command.
delete(JFtpEntry)
- Method in class ip1.ex14.
JFtp
Delete a file.
die_command(String)
- Method in class ip1.ex14.
JFtpControl
The command issued is not allowed in current state.
DIR
- Static variable in class ip1.ex14.
JFtpEntry
dispRemote(Vector)
- Method in class ip1.ex14.
JFtp
Change the contents of the remote file list.
DOWNLOAD
- Static variable in class ip1.ex14.
JFtp.RootQueueItem
download(JFtpEntry)
- Method in class ip1.ex14.
JFtp
Download a file.
Draw
- class ip1.ex4a.
Draw
.
The Draw class implements a simple distributed whiteboard.
Draw.DrawSocket
- class ip1.ex4a.
Draw.DrawSocket
.
The DrawSocket provides a Runnable listening UDP socket.
Draw.DrawSocket(int, Paper)
- Constructor for class ip1.ex4a.
Draw.DrawSocket
The constructor.
Draw(int, InetAddress, int)
- Constructor for class ip1.ex4a.
Draw
The constructor.
drw
- Variable in class ip1.ex4a.
Paper
dumpQueue()
- Method in class ip1.ex14.
JFtpThread
F
FILE
- Static variable in class ip1.ex14.
JFtpEntry
formatSize(long)
- Static method in class ip1.ex14.
JFtpEntry
G
GB
- Static variable in class ip1.ex14.
JFtpEntry
getAddr()
- Method in class ip1.ex14.
JFtpResponse
Extract the SocketAddress from the response.
getAuxControl(URL)
- Method in class ip1.ex14.
JFtp
Return an auxilary control connection.
getChild(int)
- Method in class ip1.ex14.
JFtpThread
Return the requested child.
getControl()
- Method in class ip1.ex14.
JFtp
Return the active control connection.
getEntry()
- Method in class ip1.ex14.
JFtpThread.QueueItem
Object accessor to arg.
getFile()
- Method in class ip1.ex14.
JFtpThread.QueueItem
File accessor to arg.
getRoot()
- Method in class ip1.ex14.
JFtpThread
Return the root thread.
getSelectedFiles(JList)
- Method in class ip1.ex14.
JFtpWindow
Gets the selected files.
getString()
- Method in class ip1.ex14.
JFtpThread.QueueItem
String accessor to arg.
getUrl()
- Method in class ip1.ex14.
JFtpThread.QueueItem
URL accessor to arg.
getVector()
- Method in class ip1.ex14.
JFtpThread.QueueItem
Vector accessor to arg.
H
hs
- Variable in class ip1.ex4a.
Paper
hyperlinkUpdate(HyperlinkEvent)
- Method in class ip1.ex2b.
BrowserApplet
This gets called when the user activates a hyperlink.
I
id
- Variable in class ip1.ex1a.
ThreaderListener
id
- Variable in class ip1.ex14.
JFtpThread
This thread's id.
idleNode
- Variable in class ip1.ex14.
JFtpThread
in
- Variable in class ip1.ex14.
JFtpControl
init()
- Method in class ip1.ex1a.
Threader
init()
- Method in class ip1.ex2b.
BrowserApplet
The constructor sets up the UI and loads the start page.
ioFailure()
- Static method in class ip1.ex14.
JFtpResponse
Fake reply signaling an I/O error.
ip1.ex14
- package ip1.ex14
ip1.ex1a
- package ip1.ex1a
ip1.ex2a
- package ip1.ex2a
ip1.ex2b
- package ip1.ex2b
ip1.ex3a
- package ip1.ex3a
ip1.ex3b
- package ip1.ex3b
ip1.ex4a
- package ip1.ex4a
isAck()
- Method in class ip1.ex14.
JFtpResponse
Is the response a positive acknowledgment ?
isBusy()
- Method in class ip1.ex14.
JFtpThread
Is this thread busy (that is are there messages in its queue)?
isIncomplete()
- Method in class ip1.ex14.
JFtpResponse
Did we get an 'incomplete information' response?
J
jftp
- Variable in class ip1.ex14.
JFtpControl.IdleTask
jftp
- Variable in class ip1.ex14.
JFtpWindow
The main thread.
jftp
- Variable in class ip1.ex14.
JFtp.RefreshTask
JFtp
- class ip1.ex14.
JFtp
.
JFtp is a multi-threaded graphical FTP client.
JFtp.RefreshTask
- class ip1.ex14.
JFtp.RefreshTask
.
A TimerTask to refresh JFtp's thread view.
JFtp.RefreshTask(JFtp)
- Constructor for class ip1.ex14.
JFtp.RefreshTask
The constuctor.
JFtp.RootQueueItem
- class ip1.ex14.
JFtp.RootQueueItem
.
JFtp.RootQueueItem(int, JFtpEntry)
- Constructor for class ip1.ex14.
JFtp.RootQueueItem
The constructor.
JFtp(String[])
- Constructor for class ip1.ex14.
JFtp
The constructor parses the command line arguments.
JFtpControl
- class ip1.ex14.
JFtpControl
.
The JFtpControl class implements an FTP control thread.
JFtpControl.ControlQueueItem
- class ip1.ex14.
JFtpControl.ControlQueueItem
.
Class for describing a JFtpControl's queue.
JFtpControl.ControlQueueItem(int, JFtpEntry)
- Constructor for class ip1.ex14.
JFtpControl.ControlQueueItem
The constructor.
JFtpControl.IdleTask
- class ip1.ex14.
JFtpControl.IdleTask
.
A TimerTask to watch inactivity on a JFtpControlThread.
JFtpControl.IdleTask(JFtpControl)
- Constructor for class ip1.ex14.
JFtpControl.IdleTask
The constuctor.
JFtpControl(JFtp, URL)
- Constructor for class ip1.ex14.
JFtpControl
The constructor.
JFtpData
- class ip1.ex14.
JFtpData
.
The JFtpData class implements an FTP data thread.
JFtpData.DataQueueItem
- class ip1.ex14.
JFtpData.DataQueueItem
.
Describes an item of a JFTpData's queue.
JFtpData.DataQueueItem(int, File)
- Constructor for class ip1.ex14.
JFtpData.DataQueueItem
The constuctor.
JFtpData(JFtpControl)
- Constructor for class ip1.ex14.
JFtpData
The constructor.
JFtpData(JFtpControl, long)
- Constructor for class ip1.ex14.
JFtpData
Variant of the constructor.
JFtpEntry
- class ip1.ex14.
JFtpEntry
.
A file or directory entry.
JFtpEntry(File)
- Constructor for class ip1.ex14.
JFtpEntry
Constructor for local entries.
JFtpEntry(String, int, int, URL)
- Constructor for class ip1.ex14.
JFtpEntry
The constructor.
JFtpEntry(String, URL)
- Constructor for class ip1.ex14.
JFtpEntry
Constuctor for remote entries.
JFtpResponse
- class ip1.ex14.
JFtpResponse
.
The JFtpResponse class represents an FTP protocol response.
JFtpResponse(int, String)
- Constructor for class ip1.ex14.
JFtpResponse
Private constructor for internal use.
JFtpResponse(JFtpControl, BufferedReader)
- Constructor for class ip1.ex14.
JFtpResponse
The constructor.
JFtpThread
- class ip1.ex14.
JFtpThread
.
A thread that has a message queue and children.
JFtpThread.QueueItem
- class ip1.ex14.
JFtpThread.QueueItem
.
An item of the action queue.
JFtpThread.QueueItem(int, Object)
- Constructor for class ip1.ex14.
JFtpThread.QueueItem
The constructor.
JFtpThread(JFtpThread, String)
- Constructor for class ip1.ex14.
JFtpThread
Shorter version of the constructor (not tree).
JFtpThread(JFtpThread, String, boolean)
- Constructor for class ip1.ex14.
JFtpThread
The constructor.
JFtpWindow
- class ip1.ex14.
JFtpWindow
.
The JFtp main window.
JFtpWindow(JFtp)
- Constructor for class ip1.ex14.
JFtpWindow
The constructor.
K
kB
- Static variable in class ip1.ex14.
JFtpEntry
L
LIST
- Static variable in class ip1.ex14.
JFtpControl.ControlQueueItem
Send a LIST command.
LOCAL
- Static variable in class ip1.ex14.
JFtpEntry
localCwd(String)
- Method in class ip1.ex14.
JFtp
Change the local working directory.
localDir
- Variable in class ip1.ex14.
JFtpControl
The local working directory.
localDir
- Variable in class ip1.ex14.
JFtp
The local working directory.
localList
- Variable in class ip1.ex14.
JFtpWindow
The local file list.
location
- Variable in class ip1.ex14.
JFtpEntry
logArea
- Variable in class ip1.ex14.
JFtpWindow
The scrollable text area where we display the log.
M
main(String[])
- Static method in class ip1.ex2a.
Browser
main(String[])
- Static method in class ip1.ex3a.
ChatClient
main(String[])
- Static method in class ip1.ex3b.
ChatServer
main(String[])
- Static method in class ip1.ex4a.
Draw
main(String[])
- Static method in class ip1.ex14.
JFtp
The program's main routine.
mainWindow
- Variable in class ip1.ex14.
JFtp
JFtp's main window.
makeCwd(JFtpEntry)
- Method in class ip1.ex14.
JFtpControl
Change the remote working directory.
makeDele(JFtpEntry)
- Method in class ip1.ex14.
JFtpControl
Delete a remote file.
makeList()
- Method in class ip1.ex14.
JFtpControl
Returns the directory listing.
makeLocalList(File)
- Static method in class ip1.ex14.
JFtpEntry
return a vector containing a local directory listing.
makeNoop()
- Method in class ip1.ex14.
JFtpControl
Send a NOOP command.
makePass()
- Method in class ip1.ex14.
JFtpControl
Sent the user's password.
makePwd()
- Method in class ip1.ex14.
JFtpControl
Prints current working directory.
makeQuit()
- Method in class ip1.ex14.
JFtpControl
Says goodbye to the FTP server.
makeRemoteList(URL, String[])
- Static method in class ip1.ex14.
JFtpEntry
return a vector containing a local directory listing.
makeRetr(JFtpEntry)
- Method in class ip1.ex14.
JFtpControl
Retrieve a remote file.
makeStor(JFtpEntry)
- Method in class ip1.ex14.
JFtpControl
Send a file to the server.
makeType(String)
- Method in class ip1.ex14.
JFtpControl
Set the transfer type.
makeUser()
- Method in class ip1.ex14.
JFtpControl
Authenticate.
MB
- Static variable in class ip1.ex14.
JFtpEntry
minid
- Static variable in class ip1.ex1a.
ThreaderListener
mouseDragged(MouseEvent)
- Method in class ip1.ex4a.
Paper.L2
mousePressed(MouseEvent)
- Method in class ip1.ex4a.
Paper.L1
msg
- Variable in class ip1.ex14.
JFtpResponse
N
name
- Variable in class ip1.ex14.
JFtpEntry
node
- Variable in class ip1.ex14.
JFtpThread
The thread's node.
node
- Variable in class ip1.ex14.
JFtpThread.QueueItem
The queue item's representation as a node.
NOOP
- Static variable in class ip1.ex14.
JFtpControl.ControlQueueItem
Send a NOOP command.
O
orderList(Vector)
- Static method in class ip1.ex14.
JFtpEntry
orders the elements of a directory listing : directories first, then files.
out
- Variable in class ip1.ex3a.
ChatClientWin
The output writer.
out
- Variable in class ip1.ex3b.
ChatServerWin
The output writer.
out
- Variable in class ip1.ex14.
JFtpControl
P
paintComponent(Graphics)
- Method in class ip1.ex4a.
Paper
paper
- Variable in class ip1.ex4a.
Draw
paper
- Variable in class ip1.ex4a.
Draw.DrawSocket
Paper
- class ip1.ex4a.
Paper
.
The Paper class provides a clickable drawing area.
Paper.ColorPoint
- class ip1.ex4a.
Paper.ColorPoint
.
Paper.ColorPoint(Point, Color)
- Constructor for class ip1.ex4a.
Paper.ColorPoint
Paper.L1
- class ip1.ex4a.
Paper.L1
.
Paper.L1()
- Constructor for class ip1.ex4a.
Paper.L1
Paper.L2
- class ip1.ex4a.
Paper.L2
.
Paper.L2()
- Constructor for class ip1.ex4a.
Paper.L2
Paper(Draw)
- Constructor for class ip1.ex4a.
Paper
parent
- Variable in class ip1.ex14.
JFtpThread
The thread's parent.
passive
- Variable in class ip1.ex14.
JFtpData
Are we in passive mode?
passive
- Variable in class ip1.ex14.
JFtpControl
Are we in passive mode?
peekQueue()
- Method in class ip1.ex14.
JFtpThread
Peek at the next item in the queue.
progress
- Variable in class ip1.ex14.
JFtpData
The progress indicator.
propagateTreeChange()
- Method in class ip1.ex14.
JFtpThread
Propagate a notice that the tree view needs a refresh.
PWD
- Static variable in class ip1.ex14.
JFtpControl.ControlQueueItem
Send a PWD command.
Q
queue
- Variable in class ip1.ex14.
JFtpThread
The message queue.
queueCwd(JFtpEntry)
- Method in class ip1.ex14.
JFtpControl
Queue a CWD command.
queueDele(JFtpEntry)
- Method in class ip1.ex14.
JFtpControl
Queue a DELE command.
queueDownload(JFtpEntry)
- Method in class ip1.ex14.
JFtp
Queue the download of a file.
queueList()
- Method in class ip1.ex14.
JFtpControl
Queue a LIST command.
queueNoop()
- Method in class ip1.ex14.
JFtpControl
Queue a NOOP command.
queuePwd()
- Method in class ip1.ex14.
JFtpControl
Queue a PWD command.
queueReadStr(StringBuffer)
- Method in class ip1.ex14.
JFtpData
Queue reading to a StringBuffer.
queueReceive(File)
- Method in class ip1.ex14.
JFtpData
Queue receiving a file from the server.
queueRetr(JFtpEntry)
- Method in class ip1.ex14.
JFtpControl
Queue a RETR command.
queueSend(File)
- Method in class ip1.ex14.
JFtpData
Queue sending a local file to the server.
queueShutdown()
- Method in class ip1.ex14.
JFtpThread
Queue a shutdown of the thread.
queueStor(JFtpEntry)
- Method in class ip1.ex14.
JFtpControl
Queue a STOR command.
queueUpload(JFtpEntry)
- Method in class ip1.ex14.
JFtp
Queue the upload of a file.
R
readQueue()
- Method in class ip1.ex14.
JFtpThread
Read the next item in the queue.
READSTR
- Static variable in class ip1.ex14.
JFtpData.DataQueueItem
RECEIVE
- Static variable in class ip1.ex14.
JFtpData.DataQueueItem
recvResponse()
- Method in class ip1.ex14.
JFtpControl
Receive and process a reponse from the server.
refreshLocalList()
- Method in class ip1.ex14.
JFtp
Refresh local file list.
refreshNode()
- Method in class ip1.ex14.
JFtpThread
Refresh the node representing this thread.
refreshRemoteList()
- Method in class ip1.ex14.
JFtp
Refresh the remote file list.
refreshThreadView()
- Method in class ip1.ex14.
JFtpThread
Update the thread view
refreshUrl()
- Method in class ip1.ex14.
JFtp
Change the current URL in the window.
REMOTE
- Static variable in class ip1.ex14.
JFtpEntry
remote_host
- Variable in class ip1.ex4a.
Draw
The remote host we talk to.
remote_port
- Variable in class ip1.ex4a.
Draw
The remote host we talk to.
remoteList
- Variable in class ip1.ex14.
JFtpWindow
The remote file list.
remoteUrl
- Variable in class ip1.ex14.
JFtpControl
The remote working URL.
removeChild(JFtpControl)
- Method in class ip1.ex14.
JFtp
Remove a control thread.
removeChild(JFtpThread)
- Method in class ip1.ex14.
JFtpThread
Remove a child thread then updates the toplevel thread view.
reset()
- Method in class ip1.ex14.
JFtpThread
Clear the thread's queue and kill all its children.
RETR
- Static variable in class ip1.ex14.
JFtpControl.ControlQueueItem
Send a RETR command.
run()
- Method in class ip1.ex1a.
ThreaderTh2
The run method outputs text to the designated text area every second.
run()
- Method in class ip1.ex1a.
ThreaderTh1
The run method outputs text to the designated text area every second.
run()
- Method in class ip1.ex3a.
ChatClientSocket
The run method reads text from the server forever.
run()
- Method in class ip1.ex3b.
ChatServerThread
The run method reads text from the client until he disconnects.
run()
- Method in class ip1.ex4a.
Draw.DrawSocket
This loops forever, reading datagrams from the socket.
run()
- Method in class ip1.ex14.
JFtpData
Establish the data connection.
run()
- Method in class ip1.ex14.
JFtpControl
The thread's entry point.
run()
- Method in class ip1.ex14.
JFtpControl.IdleTask
Triggered where the Timer reaches its limit.
run()
- Method in class ip1.ex14.
JFtpThread
The run function, must be overriden to do anything useful.
run()
- Method in class ip1.ex14.
JFtp
Thread entry point.
run()
- Method in class ip1.ex14.
JFtp.RefreshTask
Triggered when the Timer reaches its limit.
running
- Variable in class ip1.ex1a.
ThreaderListener
S
sb
- Variable in class ip1.ex14.
JFtpData
String buffer.
sck_send
- Variable in class ip1.ex4a.
Draw
The socket for sending packets.
SEND
- Static variable in class ip1.ex14.
JFtpData.DataQueueItem
sendCommand(String)
- Method in class ip1.ex14.
JFtpControl
Sends a string to the remote host.
sendPoint(Point)
- Method in class ip1.ex4a.
Draw
Send a point to the remote host.
setPassive(boolean)
- Method in class ip1.ex14.
JFtp
Set active or passive mode.
SHUTDOWN
- Static variable in class ip1.ex14.
JFtpThread.QueueItem
Shutdown.
shutdown()
- Method in class ip1.ex14.
JFtpControl
Close reader, writer and socket.
shutdown()
- Method in class ip1.ex14.
JFtpThread
Perform a shutdown.
size
- Variable in class ip1.ex14.
JFtpEntry
sock
- Variable in class ip1.ex14.
JFtpData
The data socket
sockAddr
- Variable in class ip1.ex14.
JFtpData
Where to connect to (for passive mode)
sockControl
- Variable in class ip1.ex14.
JFtpControl
Control connection.
socket
- Variable in class ip1.ex3b.
ChatServerThread
The text area to output received data to.
sockets
- Variable in class ip1.ex3b.
ChatServerWin
Socket array to handle established connections.
sockListen
- Variable in class ip1.ex14.
JFtpData
Listening socket (for active mode)
spinnerThreads
- Variable in class ip1.ex14.
JFtpWindow
Spinner for the number of threads.
start()
- Method in class ip1.ex1a.
ThreaderListener
state
- Variable in class ip1.ex14.
JFtpThread
The thread's state.
STATE_CONNECT
- Static variable in class ip1.ex14.
JFtpControl
We are connected .
STATE_CONNECTED
- Static variable in class ip1.ex14.
JFtpData
We have a connection.
STATE_CONNECTING
- Static variable in class ip1.ex14.
JFtpData
We are attempting to connect (initial state).
STATE_EXITED
- Static variable in class ip1.ex14.
JFtpThread
The thread has exited.
STATE_LOGGED
- Static variable in class ip1.ex14.
JFtpControl
We have logged in.
STATE_NOTRUNNING
- Static variable in class ip1.ex14.
JFtpThread
The thread is not running.
STATE_SHUTDOWN
- Static variable in class ip1.ex14.
JFtpThread
We are shutting down.
stateChanged(ChangeEvent)
- Method in class ip1.ex14.
JFtpWindow
This gets called when the user changes the value of the JSpinner which controls the maximum number of consecutive control threads.
stop()
- Method in class ip1.ex1a.
ThreaderListener
STOR
- Static variable in class ip1.ex14.
JFtpControl.ControlQueueItem
Send a STOR command.
T
targetSize
- Variable in class ip1.ex14.
JFtpData
The target size.
textArea
- Variable in class ip1.ex1a.
ThreaderTh2
The text area we write to periodically.
textArea
- Variable in class ip1.ex1a.
ThreaderTh1
The text area we write to periodically.
th
- Variable in class ip1.ex1a.
ThreaderListener
thread
- Variable in class ip1.ex14.
JFtpControl.IdleTask
Threader
- class ip1.ex1a.
Threader
.
The Threader class illustrates both a thread derived from the Thread class and a class implementing the Runnable interface.
Threader()
- Constructor for class ip1.ex1a.
Threader
ThreaderListener
- class ip1.ex1a.
ThreaderListener
.
ThreaderListener provides a button which controls the execution of a thread.
ThreaderListener(JPanel, Thread)
- Constructor for class ip1.ex1a.
ThreaderListener
ThreaderTh1
- class ip1.ex1a.
ThreaderTh1
.
ThreaderTh1 illustrates threading by inheriting from Threader.
ThreaderTh1(JTextArea)
- Constructor for class ip1.ex1a.
ThreaderTh1
The constructor stores a reference to the output text area.
ThreaderTh2
- class ip1.ex1a.
ThreaderTh2
.
ThreaderTh2 illustrates threading by implementing the Runnable interface.
ThreaderTh2(JTextArea)
- Constructor for class ip1.ex1a.
ThreaderTh2
The constructor stores a reference to the output text area.
threadTree
- Variable in class ip1.ex14.
JFtpThread
An optional JTree for displaying the thread's queue and children.
threadTreeChanged
- Variable in class ip1.ex14.
JFtpThread
Has the threadTree changed since the last refresh?
toString()
- Method in class ip1.ex14.
JFtpData
String representation.
toString()
- Method in class ip1.ex14.
JFtpData.DataQueueItem
Return string representation.
toString()
- Method in class ip1.ex14.
JFtpResponse
Display some info about the type of error.
toString()
- Method in class ip1.ex14.
JFtpControl.ControlQueueItem
Return string representation.
toString()
- Method in class ip1.ex14.
JFtpEntry
Return string representation.
toString()
- Method in class ip1.ex14.
JFtpThread
Convert to String representation.
toString()
- Method in class ip1.ex14.
JFtpThread.QueueItem
Return string representation.
toString()
- Method in class ip1.ex14.
JFtp.RootQueueItem
Return string representation.
txtArea
- Variable in class ip1.ex3a.
ChatClientSocket
The text area to output received data to.
txtRecv
- Variable in class ip1.ex3a.
ChatClientWin
The scrollable text area where we display received text.
txtRecv
- Variable in class ip1.ex3b.
ChatServerWin
The scrollable text area where we display received text.
txtSend
- Variable in class ip1.ex3a.
ChatClientWin
The field where the user enters text to send.
txtSend
- Variable in class ip1.ex3b.
ChatServerWin
The field where the user enters text to broadcast.
type
- Variable in class ip1.ex14.
JFtpResponse
type
- Variable in class ip1.ex14.
JFtpEntry
type
- Variable in class ip1.ex14.
JFtpThread
Type of thread.
U
UPLOAD
- Static variable in class ip1.ex14.
JFtp.RootQueueItem
Upload a file.
upload(JFtpEntry)
- Method in class ip1.ex14.
JFtp
Upload a file.
url
- Variable in class ip1.ex14.
JFtpEntry
urlField
- Variable in class ip1.ex2a.
BrowserWin
The field where the user enters the URL to browse.
urlField
- Variable in class ip1.ex2b.
BrowserApplet
The field where the user enters the URL to browse.
urlField
- Variable in class ip1.ex14.
JFtpWindow
The field where the user enters the URL to browse.
usage()
- Static method in class ip1.ex4a.
Draw
Display program usage.
usage()
- Method in class ip1.ex14.
JFtp
Display program usage.
V
valueChanged(ListSelectionEvent)
- Method in class ip1.ex14.
JFtpWindow
This gets called when a user changes selection in the list.
version
- Static variable in class ip1.ex14.
JFtp
Program version.
viewArea
- Variable in class ip1.ex2a.
BrowserWin
The scrollable text area where we display retrieved data.
viewArea
- Variable in class ip1.ex2b.
BrowserApplet
The scrollable text area where we display retrieved data.
W
waitShutdown(JFtpThread)
- Method in class ip1.ex14.
JFtpThread
Wait for a thread to exit.
win
- Variable in class ip1.ex3b.
ChatServerThread
windowActivated(WindowEvent)
- Method in class ip1.ex14.
JFtpWindow
windowClosed(WindowEvent)
- Method in class ip1.ex14.
JFtpWindow
windowClosing(WindowEvent)
- Method in class ip1.ex14.
JFtpWindow
Catch the closing of the window.
windowDeactivated(WindowEvent)
- Method in class ip1.ex14.
JFtpWindow
windowDeiconified(WindowEvent)
- Method in class ip1.ex14.
JFtpWindow
windowIconified(WindowEvent)
- Method in class ip1.ex14.
JFtpWindow
windowOpened(WindowEvent)
- Method in class ip1.ex14.
JFtpWindow
A
B
C
D
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Overview
Package
Class
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes