A B C D E F G H I J M N P R S U

A

actionPerformed(ActionEvent) - Method in class nl.tue.id.tim.FileTransferButton
When this button is pressed.

B

buttons - Static variable in class nl.tue.id.tim.FileTransferButton
collection of all the FileTransferButton instances.

C

CRLF - Static variable in class nl.tue.id.tim.HttpServer.HttpServerConnection
 
chat - Variable in class nl.tue.id.tim.FileTransferButton
the ChatPanel this button to be added to.
client - Variable in class nl.tue.id.tim.HttpServer.HttpServerConnection
 
contentLengthLine - Variable in class nl.tue.id.tim.HttpServer.HttpServerConnection
 
contentTypeLine - Variable in class nl.tue.id.tim.HttpServer.HttpServerConnection
 
conversationHandler(ConversationEvent) - Method in class nl.tue.id.tim.FileTransfer
conversationHandler processes the conversation events from ChatPanels.
copy(File, File) - Method in class nl.tue.id.tim.FileTransfer
copy one file to another. no worning if the destination file exists. use it with care.

D

downloadFile(String, ChatPanel) - Method in class nl.tue.id.tim.FileTransfer
download the file, when finish send a confirmation message to the butty in chat.

E

entityBody - Variable in class nl.tue.id.tim.HttpServer.HttpServerConnection
 

F

FileTransfer - class nl.tue.id.tim.FileTransfer.
TIM File Transfer plugin for JBother.
FileTransfer() - Constructor for class nl.tue.id.tim.FileTransfer
 
FileTransferButton - class nl.tue.id.tim.FileTransferButton.
File Transfer Button to be shown on chat panels.
FileTransferButton(ChatPanel, FileTransfer) - Constructor for class nl.tue.id.tim.FileTransferButton
FileTransferButton.
fileTransfer - Variable in class nl.tue.id.tim.FileTransferButton
FileTransfer that created this button. it is needed for call back its upload() function.

G

getPort() - Method in class nl.tue.id.tim.HttpServer
return the root number.
getRoot() - Method in class nl.tue.id.tim.HttpServer
return the root directory.

H

HttpServer - class nl.tue.id.tim.HttpServer.
A simple http server that implements HTTP/1.0 GET.
HttpServer() - Constructor for class nl.tue.id.tim.HttpServer
 
HttpServer.HttpServerConnection - class nl.tue.id.tim.HttpServer.HttpServerConnection.
Http server connection.
HttpServer.HttpServerConnection(Socket) - Constructor for class nl.tue.id.tim.HttpServer.HttpServerConnection
 
handleEvent(PluginEvent) - Method in class nl.tue.id.tim.FileTransfer
This is the event handling interface defined in JBother Plugin.

I

init() - Method in class nl.tue.id.tim.FileTransfer
Initiate the plugin.

J

jbInit() - Method in class nl.tue.id.tim.HttpServer
 

M

main(String[]) - Static method in class nl.tue.id.tim.HttpServer
for testing as a standalone server.

N

nl.tue.id.tim - package nl.tue.id.tim
File Transfer Plugin for JBother.

P

port - Variable in class nl.tue.id.tim.HttpServer
port number of the http server.

R

reloadButtons() - Static method in class nl.tue.id.tim.FileTransferButton
reload all FileTransferButton instances to its chat panel.
removeButtons() - Static method in class nl.tue.id.tim.FileTransferButton
remove all FileTransferButton instances from its chat panel.
resources - Variable in class nl.tue.id.tim.FileTransfer
i18n translation resources.
root - Variable in class nl.tue.id.tim.FileTransfer
root directory of the simple http server.
root - Variable in class nl.tue.id.tim.HttpServer
the root directory of the http server.
run() - Method in class nl.tue.id.tim.HttpServer.HttpServerConnection
 
run() - Method in class nl.tue.id.tim.HttpServer
a http server is always started in a new thread, awaiting the connections from the clients.
running - Variable in class nl.tue.id.tim.HttpServer
a switch for start and stop the http server.

S

server - Variable in class nl.tue.id.tim.FileTransfer
a simple http server for tranfering files.
serverLine - Variable in class nl.tue.id.tim.HttpServer.HttpServerConnection
 
setPort(int) - Method in class nl.tue.id.tim.HttpServer
setter for the port.
setRoot(String) - Method in class nl.tue.id.tim.HttpServer
setter for the root.
ss - Variable in class nl.tue.id.tim.HttpServer
server socket
start() - Method in class nl.tue.id.tim.HttpServer
start the http server as a new thread.
statusLine - Variable in class nl.tue.id.tim.HttpServer.HttpServerConnection
 
stop() - Method in class nl.tue.id.tim.HttpServer
stop the http server.

U

unload() - Method in class nl.tue.id.tim.FileTransfer
Unloads the plugin. remove this plugin from the PluginChain, stop the web server, remove file transfer buttons from ChatPanels.
uploadFile() - Method in class nl.tue.id.tim.FileTransfer
uploadFile the file will be uploaded to a cahce directory that serves as http root. the cache directory is named "cache" under the current user's profile All the uploaded files will be removed when the virtual machine terminates.

A B C D E F G H I J M N P R S U