A B C D E F G H I J L M N O P R S T U W Y

A

aborted() - Method in class networking.client.frame.FileFrame
 
ABORTED - Static variable in class networking.FileTransfer
Event constant - transfer aborted
aborted() - Method in class networking.FileTransfer
 
aborted() - Method in interface networking.IFileTransferListener
Transfer aborted event handler
ACCEPT - Static variable in class networking.protocol.Message
ACCEPT message type constant - server accepts client connection
ACCEPT_FILE - Static variable in class networking.protocol.Message
ACCEPT_FILE message type constant - new file was accepted by some client
ACCEPT_FILE_SENT - Static variable in class networking.protocol.Message
ACCEPT_FILE_SENT message type constant - new file was accepted by client sent by clients
acceptFile() - Method in class networking.server.FileUploadServer
Target client indicated accept of the file
ackFile() - Method in class networking.server.FileUploadServer
FileDownloadServer acknowledges file object receipt
ackFileTransfer() - Method in class networking.server.FileDownloadServer
Acknowledge file transfer
ackFileTransfer() - Method in class networking.server.FileUploadServer
FileDownloadServer acknowledges file transfer
addListener(IFileTransferListener) - Method in class networking.FileTransfer
Add new IFileTransferListener
addListener(IMasterServerListener) - Method in interface networking.server.IMasterServerListenersHost
Add new listener
addListener(IMasterServerListener) - Method in class networking.server.MasterServerListenersHost
 
ASK - Static variable in class networking.server.FileUploadServer
ASK state constant - asking clients
askAccept(Message) - Method in class networking.client.frame.ClientFrame
Ask wheither to accept the file
askFile(int) - Method in class networking.client.frame.ClientFrame
Ask location for file sending/receiving

B

BEGIN - Static variable in class networking.client.frame.FileFrame
State constant - begin processing
BROADCAST_SENT - Static variable in class networking.protocol.Message
BROADCAST_SENT message type constant - broadcast message sent
BUF_SIZE - Static variable in class networking.FileTransfer
Pump buffer size
buttonAbort_actionPerformed(ActionEvent) - Method in class networking.client.frame.FileFrame
Abort
buttonAbout_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrameUI
Connect
buttonAbout_actionPerformed(ActionEvent) - Method in class networking.server.gui.ServerAppUI
About
buttonClose_actionPerformed(ActionEvent) - Method in class networking.client.frame.FileFrame
Close
buttonConnect_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientApplet
Connect
buttonConnect_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientAppletUI
Connect
buttonConnect_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrame
Connect
buttonConnect_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrameUI
Connect
buttonDisconnect_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientApplet
Disconnect
buttonDisconnect_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientAppletUI
Disconnect
buttonDisconnect_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrame
Disconnect
buttonDisconnect_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrameUI
Disconnect
buttonForce_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientApplet
Force disconnection
buttonForce_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientAppletUI
Force disconection
buttonForce_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrame
Force disconnection
buttonForce_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrameUI
Force disconection
buttonSend_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientApplet
Send message
buttonSend_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientAppletUI
Send message
buttonSend_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrame
Send message
buttonSend_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrameUI
Send message
buttonSendAll_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientApplet
Broadcast message
buttonSendAll_actionPerformed(ActionEvent) - Method in class networking.client.applet.ClientAppletUI
Broadcast message
buttonSendAll_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrame
Broadcast message
buttonSendAll_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrameUI
Broadcast message
buttonSendFile_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrame
Send file
buttonSendFile_actionPerformed(ActionEvent) - Method in class networking.client.frame.ClientFrameUI
Send file
buttonSet_actionPerformed(ActionEvent) - Method in class networking.server.gui.ServerAppUI
Set limit
buttonStart_actionPerformed(ActionEvent) - Method in class networking.server.gui.ServerAppUI
Start
buttonStop_actionPerformed(ActionEvent) - Method in class networking.server.gui.ServerAppUI
Stop
BYE - Static variable in class networking.protocol.Message
BYE message type constant - server or client has disconnected

C

checkEnd() - Method in class networking.server.FileUploadServer
Check if all clients are served
checkFile() - Method in class networking.server.FileUploadServer
Check if all active clients are served and delete the file
CHILD - Static variable in class networking.base.ForkedThread
Fork status CHILD - a thread was forked as child
circulateMessage(Message) - Method in class networking.server.Server
Circulate message to a recipient audience
clear() - Method in class networking.server.gui.JListEx
Remove all items
Client - Class in networking.protocol
Client - this class represents an object which describes client, aka client descriptor
Client(String) - Constructor for class networking.protocol.Client
Construct new Client object
CLIENT_LIST_CHANGED - Static variable in class networking.protocol.Message
CLIENT_LIST_CHANGED message type constant - new client has connected or a client has disconnected
ClientApplet - Class in networking.client.applet
ClientApplet - this class represents an applet which interacts with ClientThread
ClientApplet() - Constructor for class networking.client.applet.ClientApplet
Construct new ClientApplet object
ClientAppletUI - Class in networking.client.applet
ClientAppletUI - this class lays out UI controls of the application applet
ClientAppletUI() - Constructor for class networking.client.applet.ClientAppletUI
Construct new ClientAppletUI object
ClientAppletUI.SmartLabel - Class in networking.client.applet
SmartLabel - extends label to facilitate partial text changes, i.e.
ClientAppletUI.SmartLabel(String) - Constructor for class networking.client.applet.ClientAppletUI.SmartLabel
Construct new SmartLabel object
ClientAppletUI.TextFieldEx - Class in networking.client.applet
TextFieldEx extends textField to specify minimum size
ClientAppletUI.TextFieldEx(String, int) - Constructor for class networking.client.applet.ClientAppletUI.TextFieldEx
Construct new TextFieldEx object
ClientFileThread - Class in networking.client
ClientFileThread - this class represents a thread interacting with FileServer and client for transferring files
ClientFileThread(File, IFileClient, IFileTransferListener, IFileTransferController) - Constructor for class networking.client.ClientFileThread
Construct new ClientThread object
ClientFrame - Class in networking.client.frame
ClientFrame - this class represents a frame which interacts with ClientTalkThread
ClientFrame(String) - Constructor for class networking.client.frame.ClientFrame
Construct new ClientFrame object
ClientFrameUI - Class in networking.client.frame
ClientFrameUI - this class lays out UI controls of the client frame
ClientFrameUI() - Constructor for class networking.client.frame.ClientFrameUI
Construct new ClientFrameUI object
ClientFrameUI.TextFieldEx - Class in networking.client.frame
TextFieldEx extends textField to specify minimum size
ClientFrameUI.TextFieldEx(String, int) - Constructor for class networking.client.frame.ClientFrameUI.TextFieldEx
Construct new TextFieldEx object
clientListChanged(List) - Method in class networking.server.gui.ServerAppUI
 
clientListChanged(List) - Method in interface networking.server.IMasterServerListener
List of talk clients has changed
clientListChanged() - Method in class networking.server.MasterServer
Inform servers about clients list changes
ClientTalkThread - Class in networking.client
ClientTalkThread - this class represents a thread interacting with TalkServer
ClientTalkThread(ITalkClient) - Constructor for class networking.client.ClientTalkThread
Construct new ClientTalkThread object
ClientThread - Class in networking.client
ClientThread represents a client thread for interaction with servers
ClientThread(IConnectInfo) - Constructor for class networking.client.ClientThread
Construct new ClientThread object
compareTo(Object) - Method in class networking.protocol.Client
 
COMPLETE - Static variable in class networking.client.frame.FileFrame
State constant - file transfer has completed
CONNECTED - Static variable in class networking.client.applet.ClientAppletUI
Client state constant - connected
CONNECTED - Static variable in class networking.client.frame.ClientFrameUI
Client state constant - connected

D

DEBAR - Static variable in class networking.protocol.Message
DEBAR message type constant - leader debars enlisted clients sent to clients
DEBAR_SENT - Static variable in class networking.protocol.Message
DEBAR_SENT message type constant - leader debars enlisted clients sent from leader
DEBUG - Static variable in class networking.FileTransfer
Mode
deinit() - Method in class networking.base.ForkedThread
Deallocate resources
deinit() - Method in class networking.base.SocketThread
 
delay() - Method in class networking.FileTransfer
Delay current thread for debugging purposes
DISCONNECT - Static variable in class networking.protocol.Message
DISCONNECT message type constant - master asks client or server to disconnect
DISCONNECTED - Static variable in class networking.client.applet.ClientAppletUI
Client state constant - disconnected
DISCONNECTED - Static variable in class networking.client.frame.ClientFrameUI
Client state constant - disconnected
dispose() - Method in class networking.client.frame.ClientFrame
 
dispose() - Method in class networking.client.frame.FileFrame
 
DOWNLOAD - Static variable in class networking.client.frame.FileFrame
Load mode

E

enque(Message) - Method in class networking.base.SocketThread
 
ensureRecipients() - Method in class networking.client.applet.ClientApplet
Ensure there are selected recipients, warn user if none is selected
ensureRecipients() - Method in class networking.client.frame.ClientFrame
Ensure there are selected recipients, warn user if none is selected
equals(Object) - Method in class networking.protocol.Client
 
error(Exception) - Method in class networking.base.ForkedThread
Report error
error(Exception) - Method in class networking.base.SocketThread
Report error
error(Exception) - Method in class networking.client.applet.ClientApplet
Report error
error(String) - Method in class networking.client.applet.ClientApplet
Report error
error(Exception) - Method in class networking.client.ClientFileThread
 
error(Exception) - Method in class networking.client.ClientTalkThread
 
error(Exception) - Method in class networking.client.frame.ClientFrame
Report error
error(String) - Method in class networking.client.frame.ClientFrame
Report error
ERROR - Static variable in class networking.client.frame.FileFrame
State constant - error happened
error(Exception) - Method in class networking.client.frame.FileFrame
Report error
error(String) - Method in class networking.client.frame.FileFrame
Report error
error(Exception) - Method in interface networking.client.IFileClient
Report error
error(Exception) - Method in interface networking.client.ITalkClient
Report error
ERROR - Static variable in class networking.server.FileUploadServer
ERROR state constant - file transfer failed
error(Exception) - Method in class networking.server.FileUploadServer
 
error(Exception) - Method in class networking.server.gui.ServerAppUI
Report error
error(String) - Method in class networking.server.gui.ServerAppUI
Report error
error(Exception) - Method in class networking.server.MasterServer
Report error
error(Exception, Server) - Method in class networking.server.MasterServer
Report error
error(Exception) - Method in class networking.server.Server
 
exit() - Method in class networking.base.SocketThread
Exit message loop

F

FILE_DOWNLOAD_ERROR - Static variable in class networking.protocol.Message
FILE_DOWNLOAD_ERROR message type constant - FileDownloadServer informs client about error
FILE_DOWNLOAD_OK - Static variable in class networking.protocol.Message
FILE_DOWNLOAD_OK message type constant - client has succefully completed file download
FILE_DOWNLOAD_START - Static variable in class networking.protocol.Message
FILE_DOWNLOAD_START message type constant - FileDownloadServer informs client about starting the file transfer
FILE_RECV - Static variable in class networking.protocol.Message
FILE_RECV message type constant - client want to recieve file from server
FILE_SENT - Static variable in class networking.protocol.Message
FILE_SENT message type constant - client want to send file to a list of clients
FILE_UPLOAD_OK - Static variable in class networking.protocol.Message
FILE_UPLOAD_OK message type constant - client has succefully completed file upload
FILE_WAIT - Static variable in class networking.protocol.Message
FILE_WAIT message type constant - FileDownloadServer waits while source file is being uploaded
FileDownloadServer - Class in networking.server
FileDownloadServer - this class represents a server which provides an opportinity to download files
FileDownloadServer(FileServer) - Constructor for class networking.server.FileDownloadServer
Construct new FileDownloadServer object from parent server
FileFrame - Class in networking.client.frame
FileFrame - this class represents a file transfer frame
FileFrame(File, int, ClientFrame) - Constructor for class networking.client.frame.FileFrame
Construct new FileFrame object
FileFrame.SmartLabel - Class in networking.client.frame
SmartLabel - extends label to facilitate partial text changes
FileFrame.SmartLabel() - Constructor for class networking.client.frame.FileFrame.SmartLabel
Construct new SmartLabel object
FileServer - Class in networking.server
FileServer - this class represents a server which provides an opportinity to exchange files
FileServer(Server) - Constructor for class networking.server.FileServer
Construct new FileServer object from parent server
FileTransfer - Class in networking
FileTransfer - an utility class for transferring files from/to Input/Output streams
FileTransfer(File) - Constructor for class networking.FileTransfer
Construct new FileTransfer object
FileUploadServer - Class in networking.server
FileUploadServer - this class represents a server which provides an opportinity to upload files
FileUploadServer(FileServer) - Constructor for class networking.server.FileUploadServer
Construct new FileUploadServer object from parent server
fill(Message) - Method in class networking.client.ListEx
Refill clients list
fill(List) - Method in class networking.server.gui.JListEx
Refill clients list
fire(int) - Method in class networking.FileTransfer
Fire event
fire(int) - Method in class networking.server.MasterServerListenersHost
Fire event
fire(int, Object) - Method in class networking.server.MasterServerListenersHost
Fire event
firePercentComplete(long, long) - Method in class networking.FileTransfer
Fire percentComplete event
firePercentComplete(int) - Method in class networking.FileTransfer
Fire percentComplete event
ForkedThread - Class in networking.base
ForkedThread - this class represents a thread which can be forked
ForkedThread() - Constructor for class networking.base.ForkedThread
Construct new ForkedThread object

G

getClient() - Method in class networking.client.frame.ClientFrame
Get client descriptor
getClient() - Method in class networking.protocol.Message
Get client object from message - first object in clients list
getClient() - Method in class networking.server.Server
Get client
getClients() - Method in class networking.server.MasterServer
Get a list of clients being served
getCloseOnExit() - Method in class networking.client.frame.ClientFrame
Test weither FileFrame should close on exit
getCode() - Method in class networking.protocol.Message
Get code part of the message
getFile() - Method in class networking.FileTransfer
Get file
getFile() - Method in class networking.server.FileServer
Get file object
getFile(String) - Static method in class networking.Util
Get file object from file name
getFilePath(String) - Static method in class networking.Util
Get file path from file name
getFileServer(long) - Method in class networking.server.MasterServerEx
Get server object from id
getFileThread(File, IFileClient, IFileTransferListener, IFileTransferController) - Static method in class networking.client.IClientFactory.Factory
Create new thread serving IFileClient master
getHost() - Method in class networking.client.applet.ClientApplet
 
getHost() - Method in class networking.client.frame.ClientFrame
 
getHost() - Method in class networking.client.frame.FileFrame
 
getHost() - Method in interface networking.client.IConnectInfo
Get connection host
getId() - Method in class networking.server.Server
Get server id
getIn() - Method in class networking.base.SocketThread
Get socket input stream
getInt(TextField, String) - Static method in class networking.Util
Parse text field
getInt(JTextField, String) - Static method in class networking.Util
Parse text field
getLimit() - Method in interface networking.server.IMasterServer
Get limit on clients number
getLimit() - Method in class networking.server.MasterServer
 
getList() - Method in class networking.protocol.Message
Get a list of concerned objects
getLocalHost() - Static method in class networking.Util
Get name of the localhost
getLong() - Method in class networking.protocol.Message
Get long value part of the message
getMasterServer() - Static method in class networking.server.IServerFactory.Factory
Create new IMasterServer object
getMasterServer(int) - Static method in class networking.server.IServerFactory.Factory
Create new IMasterServer object on specified port
getMessage() - Method in class networking.server.FileServer
Get message
getMinimumSize() - Method in class networking.client.applet.ClientAppletUI.SmartLabel
Specify minimum size
getMinimumSize() - Method in class networking.client.applet.ClientAppletUI.TextFieldEx
 
getMinimumSize() - Method in class networking.client.frame.ClientFrameUI.TextFieldEx
 
getMinimumSize() - Method in class networking.client.frame.FileFrame.SmartLabel
Specify minimum size
getMinimumSize() - Method in class networking.server.gui.JListEx
 
getMinimumSize() - Method in class networking.server.gui.ServerAppUI.JTextFieldEx
 
getName() - Method in class networking.protocol.Client
Get client's name
getNextId() - Static method in class networking.server.Server
Get next unique id
getOut() - Method in class networking.base.SocketThread
Get socket output stream
getPort() - Method in class networking.client.applet.ClientApplet
 
getPort() - Method in class networking.client.frame.ClientFrame
 
getPort() - Method in class networking.client.frame.FileFrame
 
getPort() - Method in interface networking.client.IConnectInfo
Get connection port
getPreferredSize() - Method in class networking.client.applet.ClientAppletUI.SmartLabel
Specify preferred size
getPreferredSize() - Method in class networking.client.frame.FileFrame.SmartLabel
Specify preferred size
getPreferredSize() - Method in class networking.server.gui.JListEx
Specify preferred size
getResult() - Method in class networking.client.frame.MsgDialog
Get dialog result
getSelectedClients() - Method in class networking.client.ListEx
Get a list of selected clients
getServer(Client) - Method in class networking.server.MasterServer
Get server object from client object
getServers() - Method in class networking.server.MasterServer
Get a list of registered servers
getServState() - Method in class networking.server.FileUploadServer
Get current state
getSignature() - Method in class networking.server.Server
Get this server signature
getString(TextField, String) - Static method in class networking.Util
Ensure that text field is not empty
getString(JTextField, String) - Static method in class networking.Util
Ensure that text field is not empty
getTalkLimit() - Method in interface networking.server.IMasterServer
Get limit on talk clients number
getTalkLimit() - Method in class networking.server.MasterServer
 
getTalkThread(ITalkClient) - Static method in class networking.client.IClientFactory.Factory
Create new thread serving ITalkClient master
getText() - Method in class networking.protocol.Message
Get the text part of the message
getType() - Method in class networking.protocol.Message
Get type of the message
go(Message) - Method in class networking.client.frame.FileFrame
Start file download
go(List) - Method in class networking.client.frame.FileFrame
Start file upload

H

hashCode() - Method in class networking.protocol.Client
 
HI_FILE - Static variable in class networking.protocol.Message
HI_FILE message type constant - client request for connection with FileServer
HI_TALK - Static variable in class networking.protocol.Message
HI message type constant - client request for connection

I

IClientFactory - Interface in networking.client
IClientFactory interface creates this package objects
IClientFactory.Factory - Class in networking.client
Factory class
IClientFactory.Factory() - Constructor for class networking.client.IClientFactory.Factory
 
IConnectInfo - Interface in networking.client
IConnectInfo - interface for providing connect information
IFileClient - Interface in networking.client
IFileClient represents an object for interaction with ClientFileThread
IFileTransferController - Interface in networking
IFileTransferController - interface for controlling file transfer process
IFileTransferListener - Interface in networking
IFileTransferListener - interface for file transfer event listeners
IMasterServer - Interface in networking.server
IMasterServer represents MasterServer object
IMasterServerListener - Interface in networking.server
IMasterServerListener - interface for MasterServer event listeners
IMasterServerListenersHost - Interface in networking.server
IMasterServerListenersHost represents an object for managing MasterServer listeners
init() - Method in class networking.base.ForkedThread
Allocate any required resources
init() - Method in class networking.base.SocketThread
 
init() - Method in class networking.client.applet.ClientApplet
 
init() - Method in class networking.client.applet.ClientAppletUI
 
init() - Method in class networking.client.ClientThread
 
init() - Method in class networking.client.frame.ClientFrame
 
init() - Method in class networking.client.frame.ClientFrameUI
Initialize frame
init() - Method in class networking.client.frame.FileFrame
Initialize frame
init(Frame) - Method in class networking.client.frame.MsgDialog
Initialize dialog
init() - Method in class networking.server.gui.ServerAppUI
Initialize frame
init1() - Method in class networking.base.SocketThread
Init inner queue
INPROCESS - Static variable in class networking.client.applet.ClientAppletUI
Client state constant - in process
INPROCESS - Static variable in class networking.client.frame.ClientFrameUI
Client state constant - in process
INPROCESS - Static variable in class networking.server.gui.ServerAppUI
State constant - in process
isAvailable(File, int) - Method in class networking.client.frame.ClientFrame
 
IServerFactory - Interface in networking.server
IServerFactory interface creates this package objects
IServerFactory.Factory - Class in networking.server
Factory class
IServerFactory.Factory() - Constructor for class networking.server.IServerFactory.Factory
 
ITalkClient - Interface in networking.client
ITalkClient interface - represents master client for a ClientTalkThrad

J

JListEx - Class in networking.server.gui
JListEx extends List to allow associating user objects with List items
JListEx(int) - Constructor for class networking.server.gui.JListEx
Construct new JListEx object

L

LEADER - Static variable in class networking.client.applet.ClientAppletUI
Client state constant - connected as leader
LEADER - Static variable in class networking.client.frame.ClientFrameUI
Client state constant - connected as leader
LIST_CHANGED - Static variable in class networking.server.MasterServerListenersHost
Event constant - clientListChanged
ListEx - Class in networking.client
ListEx extends List to allow associating user objects with List items
ListEx(int) - Constructor for class networking.client.ListEx
Construct new ListEx object
log(String) - Method in class networking.client.ClientFileThread
Logging routine
log(String) - Method in class networking.server.gui.ServerAppUI
 
log(String) - Method in interface networking.server.IMasterServerListener
Log message
log(String) - Method in class networking.server.MasterServer
Logging routine
LOG - Static variable in class networking.server.MasterServerListenersHost
Event constant - log message arrived
log(String) - Method in class networking.server.Server
Logging routine

M

m_abort - Variable in class networking.client.frame.FileFrame
Abort flag
m_ack - Variable in class networking.server.FileDownloadServer
Acknowledge flag
m_active - Variable in class networking.server.MasterServer
Indicate active state
m_activeCount - Variable in class networking.server.FileUploadServer
Active recipients count, i.e. those who accepted the file
m_bCloseOnExit - Variable in class networking.client.frame.ClientFrame
Close on exit flag for FileFrames
m_buttonAbort - Variable in class networking.client.frame.FileFrame
Buttons
m_buttonAbout - Variable in class networking.client.frame.ClientFrameUI
 
m_buttonAbout - Variable in class networking.server.gui.ServerAppUI
 
m_buttonClose - Variable in class networking.client.frame.FileFrame
 
m_buttonConnect - Variable in class networking.client.applet.ClientAppletUI
 
m_buttonConnect - Variable in class networking.client.frame.ClientFrameUI
Buttons
m_buttonDisconnect - Variable in class networking.client.applet.ClientAppletUI
 
m_buttonDisconnect - Variable in class networking.client.frame.ClientFrameUI
 
m_buttonForce - Variable in class networking.client.applet.ClientAppletUI
Buttons
m_buttonForce - Variable in class networking.client.frame.ClientFrameUI
 
m_buttonSend - Variable in class networking.client.applet.ClientAppletUI
 
m_buttonSend - Variable in class networking.client.frame.ClientFrameUI
 
m_buttonSendAll - Variable in class networking.client.applet.ClientAppletUI
 
m_buttonSendAll - Variable in class networking.client.frame.ClientFrameUI
 
m_buttonSendFile - Variable in class networking.client.frame.ClientFrameUI
 
m_buttonSet - Variable in class networking.server.gui.ServerAppUI
 
m_buttonStart - Variable in class networking.server.gui.ServerAppUI
Buttons
m_buttonStop - Variable in class networking.server.gui.ServerAppUI
 
m_cbExit - Variable in class networking.client.frame.FileFrame
Close on exit Checkbox
m_client - Variable in class networking.client.applet.ClientApplet
Client object
m_client - Variable in class networking.client.frame.ClientFrame
Client object
m_client - Variable in class networking.server.Server
Client being served
m_clients - Variable in class networking.client.applet.ClientAppletUI
List of clients
m_clients - Variable in class networking.client.frame.ClientFrameUI
List of clients
m_clients - Variable in class networking.server.gui.ServerAppUI
List of clients
m_clients - Variable in class networking.server.MasterServer
List of clients being servered
m_code - Variable in class networking.protocol.Message
Code part of the message, the meaning of code depends on message's type
m_count - Variable in class networking.server.FileUploadServer
Recipients count
m_ctrl - Variable in class networking.FileTransfer
Controller object
m_exit - Variable in class networking.base.SocketThread
Exit flag
m_file - Variable in class networking.client.ClientFileThread
File object
m_file - Variable in class networking.client.frame.FileFrame
File being transfered
m_file - Variable in class networking.FileTransfer
File being transferred
m_file - Variable in class networking.server.FileServer
File
m_fork - Variable in class networking.base.ForkedThread
Fork status
m_ftr - Variable in class networking.client.ClientFileThread
File transfer object
m_id - Variable in class networking.server.Server
This server id
m_in - Variable in class networking.base.SocketThread
Input socket stream
m_info - Variable in class networking.client.frame.FileFrame
Label with status information
m_innerIn - Variable in class networking.base.SocketThread
Input stream for internal queue processing
m_innerOut - Variable in class networking.base.SocketThread
Output stream for internal queue processing
m_lblStatus - Variable in class networking.client.applet.ClientAppletUI
Status label
m_lblTitle - Variable in class networking.client.applet.ClientAppletUI
Title label
m_limit - Variable in class networking.server.MasterServer
Maximum clients allowed to serve
m_list - Variable in class networking.protocol.Message
List of concerned objects or null
m_listeners - Variable in class networking.FileTransfer
Listeners list
m_listeners - Variable in class networking.server.MasterServerListenersHost
Listeners list
m_long - Variable in class networking.protocol.Message
Long value part of the message, the meaning depends on message's type
m_master - Variable in class networking.client.ClientFileThread
Master client
m_master - Variable in class networking.client.ClientTalkThread
Master client
m_master - Variable in class networking.client.ClientThread
Master client
m_master - Variable in class networking.server.FileServer
Master server
m_master - Variable in class networking.server.gui.ServerAppUI
MasterServer object
m_master - Variable in class networking.server.Server
Master server
m_master - Variable in class networking.server.TalkServer
Master server
m_mode - Variable in class networking.client.frame.FileFrame
Transfer mode
m_msg - Variable in class networking.server.FileServer
Message
m_name - Variable in class networking.protocol.Client
Name of the client
m_out - Variable in class networking.base.SocketThread
Output socket stream
m_pane - Variable in class networking.server.gui.ServerAppUI
Messages scroll pane
m_parent - Variable in class networking.client.frame.FileFrame
Parent frame
m_percent - Variable in class networking.FileTransfer
Current percent
m_port - Variable in class networking.client.applet.ClientApplet
Connection port
m_port - Variable in class networking.client.frame.ClientFrame
Connection port
m_port - Variable in class networking.server.MasterServer
Bind port
m_reg - Variable in class networking.server.TalkServer
Registered flag
m_result - Variable in class networking.client.frame.MsgDialog
Dilog result
m_servers - Variable in class networking.server.MasterServer
List of registered servers
m_servers - Variable in class networking.server.MasterServerEx
List of registered servers
m_socket - Variable in class networking.base.SocketThread
Socket
m_socket - Variable in class networking.server.MasterServer
Server socket
m_src - Variable in class networking.server.FileDownloadServer
Source upload server
m_state - Variable in class networking.server.FileUploadServer
Current state
m_str - Variable in class networking.protocol.Message
String part of the message, the meaning of string depends on message's type.
m_strConstPart - Variable in class networking.client.applet.ClientAppletUI.SmartLabel
Const part of label's text
m_talkLimit - Variable in class networking.server.MasterServer
Maximum talk clients allowed to serve
m_taMessages - Variable in class networking.client.applet.ClientAppletUI
Messages text area
m_taMessages - Variable in class networking.client.frame.ClientFrameUI
Messages text area
m_taMessages - Variable in class networking.server.gui.ServerAppUI
Messages text area
m_tfHost - Variable in class networking.client.applet.ClientAppletUI
Host text field
m_tfHost - Variable in class networking.client.frame.ClientFrameUI
Host text field
m_tfLimit - Variable in class networking.server.gui.ServerAppUI
Limit text field
m_tfMessage - Variable in class networking.client.applet.ClientAppletUI
Message text field
m_tfMessage - Variable in class networking.client.frame.ClientFrameUI
Message text field
m_tfName - Variable in class networking.client.applet.ClientAppletUI
Name text field
m_tfName - Variable in class networking.client.frame.ClientFrameUI
Name text field
m_tfPort - Variable in class networking.client.applet.ClientAppletUI
Port text field
m_tfPort - Variable in class networking.client.frame.ClientFrameUI
Port text field
m_tfPort - Variable in class networking.server.gui.ServerAppUI
Port text field
m_thread - Variable in class networking.client.applet.ClientApplet
Client thread
m_thread - Variable in class networking.client.frame.ClientFrame
Client thread
m_thread - Variable in class networking.client.frame.FileFrame
Transfer thread
m_timeOut - Variable in class networking.base.SocketThread
Maximum idle time (milliseconds) after which the thread exits
m_type - Variable in class networking.protocol.Message
Type of the message
main(String[]) - Static method in class networking.client.frame.ClientFrame
ClientFrame entry
main(String[]) - Static method in class networking.FileTransfer
Debugging aid
main(String[]) - Static method in class networking.RunClient
 
main(String[]) - Static method in class networking.RunServer
 
main(String[]) - Static method in class networking.server.gui.ServerAppUI
Application entry
main(String[]) - Static method in class networking.server.ServerApp
Application entry
MasterServer - Class in networking.server
 
MasterServer() - Constructor for class networking.server.MasterServer
Construct new MasterServer object
MasterServer(int) - Constructor for class networking.server.MasterServer
Construct new MasterServer object to run on port @port
MasterServerEx - Class in networking.server
MasterServerEx extends MasterServer to manage FileServers
MasterServerEx() - Constructor for class networking.server.MasterServerEx
Construct new MasterServerEx object
MasterServerEx(int) - Constructor for class networking.server.MasterServerEx
Construct new MasterServerEx object to run on port @port
MasterServerListenersHost - Class in networking.server
MasterServerListenersHost - convenience class for managing MasterServer listeners
MasterServerListenersHost() - Constructor for class networking.server.MasterServerListenersHost
 
mayContinue() - Method in class networking.client.frame.FileFrame
 
mayContinue() - Method in class networking.FileTransfer
 
mayContinue() - Method in interface networking.IFileTransferController
Ask controller weither it's possible to continue
Message - Class in networking.protocol
Message - this class represents a message, which can be sent and received through IO streams
Message(int) - Constructor for class networking.protocol.Message
Construct new Message object
Message(int, String) - Constructor for class networking.protocol.Message
Construct new Message object
Message(int, Client, String) - Constructor for class networking.protocol.Message
Construct new Message object
Message(int, List, String) - Constructor for class networking.protocol.Message
Construct new Message object
Message(int, Client, String, long) - Constructor for class networking.protocol.Message
Construct new Message object
Message(int, List, String, long) - Constructor for class networking.protocol.Message
Construct new Message object
MESSAGE_SENT - Static variable in class networking.protocol.Message
NEW_MESSAGE_SENT message type constant - a client sends new message to the list of recipients
MsgBox(Frame, String, int) - Static method in class networking.client.frame.MsgDialog
Invoke message dialog
MsgBox(Frame, String) - Static method in class networking.client.frame.MsgDialog
Invoke message dialog
MsgDialog - Class in networking.client.frame
MsgDialog - this class is used for displaying messages
MsgDialog(Frame, String, String, int) - Constructor for class networking.client.frame.MsgDialog
Construct new MsgDialog object
MsgDialog(Frame, String, String) - Constructor for class networking.client.frame.MsgDialog
Construct new MsgDialog object

N

networking - package networking
 
networking.base - package networking.base
 
networking.client - package networking.client
 
networking.client.applet - package networking.client.applet
 
networking.client.frame - package networking.client.frame
 
networking.protocol - package networking.protocol
 
networking.server - package networking.server
 
networking.server.gui - package networking.server.gui
 
NEW_FILE - Static variable in class networking.protocol.Message
NEW_FILE message type constant - new file is sent by somebody sent to clients
NEW_MESSAGE - Static variable in class networking.protocol.Message
NEW_MESSAGE message type constant - new message has arrived from other client
NO - Static variable in class networking.client.frame.MsgDialog
Result constant - user selected No option
NONE - Static variable in class networking.base.ForkedThread
Fork status NONE neither parent nor child
NONE - Static variable in class networking.protocol.Message
NONE message type constant - no contents

O

onConnect(Message) - Method in class networking.client.applet.ClientApplet
Connect handler
onConnect(Message) - Method in class networking.client.frame.ClientFrame
 
onConnect(Message) - Method in interface networking.client.ITalkClient
Connect handler
onDebar(Message) - Method in class networking.client.applet.ClientApplet
Debar handler
onDebar(Message) - Method in class networking.client.frame.ClientFrame
 
onDebar(Message) - Method in interface networking.client.ITalkClient
Debar handler
onDisconnect() - Method in class networking.client.applet.ClientApplet
Disconnect handler
onDisconnect() - Method in class networking.client.frame.ClientFrame
 
onDisconnect() - Method in class networking.client.frame.FileFrame
 
onDisconnect() - Method in interface networking.client.IFileClient
Disconnect handler
onDisconnect() - Method in interface networking.client.ITalkClient
Disconnect handler
onListChanged(Message) - Method in class networking.client.applet.ClientApplet
ListChanged handler
onListChanged(Message) - Method in class networking.client.frame.ClientFrame
 
onListChanged(Message) - Method in interface networking.client.ITalkClient
ListChanged handler
onNewFile(Message) - Method in class networking.client.applet.ClientApplet
NewFile handler
onNewFile(Message) - Method in class networking.client.frame.ClientFrame
 
onNewFile(Message) - Method in interface networking.client.ITalkClient
NewFile handler
onNewMessage(Message) - Method in class networking.client.applet.ClientApplet
NewMessage handler
onNewMessage(Message) - Method in class networking.client.frame.ClientFrame
 
onNewMessage(Message) - Method in interface networking.client.ITalkClient
NewMessage handler
onReject(Message) - Method in class networking.client.frame.FileFrame
 
onReject(Message) - Method in interface networking.client.IFileClient
Reject handler
onSuccess() - Method in class networking.client.frame.FileFrame
 
onSuccess() - Method in interface networking.client.IFileClient
Success handler

P

PARENT - Static variable in class networking.base.ForkedThread
Fork status PARENT - a thread has forked other thread and become parent
percentComplete(int) - Method in class networking.client.frame.FileFrame
 
percentComplete(int) - Method in class networking.FileTransfer
 
percentComplete(int) - Method in interface networking.IFileTransferListener
Percent complete event handler
PORT - Static variable in interface networking.server.IServerFactory
MasterServer port
PORT - Static variable in class networking.server.MasterServer
MasterServer port
processMessage(Message) - Method in class networking.base.SocketThread
Process a message
processMessage(Message) - Method in class networking.client.ClientFileThread
 
processMessage(Message) - Method in class networking.client.ClientTalkThread
 
processMessage(Message) - Method in class networking.server.FileDownloadServer
 
processMessage(Message) - Method in class networking.server.FileServer
 
processMessage(Message) - Method in class networking.server.FileUploadServer
 
processMessage(Message) - Method in class networking.server.Server
 
processMessage(Message) - Method in class networking.server.TalkServer
 
pump(InputStream, OutputStream, long) - Method in class networking.FileTransfer
Pump data from an InputStream to an OutputStream and fire percentComplete events

R

READY - Static variable in class networking.server.FileUploadServer
READY state constant - file transfer completed
recv() - Method in class networking.base.SocketThread
 
recv(InputStream) - Static method in class networking.protocol.Message
Receive the message from an input stream
RECV - Static variable in class networking.server.FileUploadServer
RECV state constant - receiving file
recvFile(InputStream, long) - Method in class networking.FileTransfer
Receive file of length len from an InputStream.
recvFile(InputStream) - Method in class networking.FileTransfer
Receive file from an InputStream.
register(Server) - Method in class networking.server.MasterServer
Register new server
register(FileUploadServer) - Method in class networking.server.MasterServerEx
Register new file server
REJECT - Static variable in class networking.protocol.Message
REJECT message type constant - server rejects client connection
REJECT_FILE - Static variable in class networking.protocol.Message
REJECT_FILE message type constant - new file was rejected by all clients
REJECT_FILE_SENT - Static variable in class networking.protocol.Message
REJECT_FILE_SENT message type constant - new file was rejected by client sent by clients
rejectFile() - Method in class networking.server.FileUploadServer
Target client indicated reject of the file
removeListener(IMasterServerListener) - Method in interface networking.server.IMasterServerListenersHost
Remove listener
removeListener(IMasterServerListener) - Method in class networking.server.MasterServerListenersHost
 
run() - Method in class networking.base.ForkedThread
 
run() - Method in class networking.client.ClientFileThread
 
run() - Method in class networking.client.ClientTalkThread
 
run() - Method in class networking.server.FileDownloadServer
 
run() - Method in class networking.server.FileUploadServer
 
run() - Method in class networking.server.MasterServer
 
run() - Method in class networking.server.TalkServer
 
run1() - Method in class networking.base.ForkedThread
Convenience routine
run1() - Method in class networking.base.SocketThread
Convenience routine
run1() - Method in class networking.server.TalkServer
 
RunApplet - Class in networking
 
RunApplet() - Constructor for class networking.RunApplet
 
RunClient - Class in networking
 
RunClient() - Constructor for class networking.RunClient
 
RunServer - Class in networking
 
RunServer() - Constructor for class networking.RunServer
 

S

s_idSeed - Static variable in class networking.server.Server
Unique id seed
s_mark - Static variable in class networking.client.ListEx
Mark for the leading client
s_mark - Static variable in class networking.server.gui.JListEx
Mark for the leading client
s_racer - Static variable in class networking.client.frame.ClientFrameUI
Facility variable
s_timeSleep - Static variable in class networking.base.SocketThread
Sleep value used in wait message loop (milliseconds)
send(Message) - Method in class networking.base.SocketThread
 
send(Message) - Method in class networking.client.applet.ClientApplet
Send message to the ClientThread
send(Message) - Method in class networking.client.frame.ClientFrame
Send message to the ClientTalkThread
send(Message) - Method in class networking.client.frame.FileFrame
Send message to the ClientFileThread
send(OutputStream) - Method in class networking.protocol.Message
Send the message to an output stream
sendFile(OutputStream) - Method in class networking.FileTransfer
Send file to an OutputStream
Server - Class in networking.server
Server - this class represents a thread serving a single client.
Server(Socket, MasterServer) - Constructor for class networking.server.Server
Construct new Server object
Server(Server) - Constructor for class networking.server.Server
Construct new Server object from other (forking)
ServerApp - Class in networking.server
ServerApp - this class creates MasterServer object and starts it
ServerApp() - Constructor for class networking.server.ServerApp
 
ServerAppUI - Class in networking.server.gui
ServerAppUI - this class provides a sever UI
ServerAppUI() - Constructor for class networking.server.gui.ServerAppUI
Construct new ServerAppUI object
ServerAppUI.JTextFieldEx - Class in networking.server.gui
JTextFieldEx extends textField to specify minimum size
ServerAppUI.JTextFieldEx(String, int) - Constructor for class networking.server.gui.ServerAppUI.JTextFieldEx
Construct new JTextFieldEx object
setBorder(JComponent, String) - Method in class networking.server.gui.ServerAppUI
Additional component setup
setCentered(Window) - Static method in class networking.Util
Center a window on the screen
setCentered(Window, Window) - Static method in class networking.Util
Center a window relative to the other window
setCloseOnExit(boolean) - Method in class networking.client.frame.ClientFrame
Set weither FileFrame should close on exit
setCode(long) - Method in class networking.protocol.Message
Set code part of the message
setController(IFileTransferController) - Method in class networking.FileTransfer
Set controller object
setControlsState(int) - Method in class networking.client.applet.ClientAppletUI
Set controls state
setControlsState(int) - Method in class networking.client.frame.ClientFrameUI
Set controls state
setControlsState(int) - Method in class networking.client.frame.FileFrame
Set controls state
setControlsState(int) - Method in class networking.server.gui.ServerAppUI
Set controls state
setFile(File) - Method in class networking.FileTransfer
Set file to transfer
setLimit(int) - Method in interface networking.server.IMasterServer
Set limit on clients number
setLimit(int) - Method in class networking.server.MasterServer
 
setLong(long) - Method in class networking.protocol.Message
Set long value part of the message
setLookAndFeel() - Static method in class networking.server.gui.ServerAppUI
Set preferable UI for this application
setPercent(int) - Method in class networking.client.frame.FileFrame.SmartLabel
Override Label
setServState(int) - Method in class networking.server.FileUploadServer
Switch to the new state
setSocket(Socket) - Method in class networking.base.SocketThread
Attach socket after construction
setStatus(String) - Method in class networking.client.applet.ClientAppletUI
Set status text
setTalkLimit(int) - Method in interface networking.server.IMasterServer
Set limit on talk clients number
setTalkLimit(int) - Method in class networking.server.MasterServer
 
setText(String) - Method in class networking.client.applet.ClientAppletUI.SmartLabel
Override Label
setTimeOut(long) - Method in class networking.base.SocketThread
Set time-out value
setTitle(String) - Method in class networking.client.applet.ClientApplet
 
setTitle(String) - Method in class networking.client.frame.ClientFrame
 
setTitle(int) - Method in class networking.client.frame.FileFrame
Set title displaying percents
setTitle(String) - Method in class networking.client.frame.FileFrame
 
setType(int) - Method in class networking.protocol.Message
Set type of the message
setupCenter(Panel) - Method in class networking.client.applet.ClientAppletUI
Setup center panel
setupCenter(Panel) - Method in class networking.client.frame.ClientFrameUI
Setup center panel
setupCenter(JPanel) - Method in class networking.server.gui.ServerAppUI
Setup center JPanel
setupConnect(Panel) - Method in class networking.client.applet.ClientAppletUI
Setup connect panel
setupConnect(Panel) - Method in class networking.client.frame.ClientFrameUI
Setup connect panel
setupLimit(JPanel) - Method in class networking.server.gui.ServerAppUI
Setup limit JPanel
setupNorth(Panel) - Method in class networking.client.applet.ClientAppletUI
Setup north panel
setupNorth(Panel) - Method in class networking.client.frame.ClientFrameUI
Setup north panel
setupNorth(JPanel) - Method in class networking.server.gui.ServerAppUI
Setup north JPanel
setupSouth(Panel) - Method in class networking.client.applet.ClientAppletUI
Setup south panel
setupSouth(Panel) - Method in class networking.client.frame.ClientFrameUI
Setup south panel
setupSouth(JPanel) - Method in class networking.server.gui.ServerAppUI
Setup south JPanel
show() - Method in class networking.client.frame.ClientFrame
 
shutdown() - Method in interface networking.server.IMasterServer
Shutdown the server
shutdown() - Method in class networking.server.MasterServer
 
shutdown() - Method in class networking.server.MasterServerEx
Shutdown the server
SocketThread - Class in networking.base
SocketThread - this class represents a thread which owns a socket and maintains an additional message queue
SocketThread() - Constructor for class networking.base.SocketThread
Construct new SocketThread object
SocketThread(Socket) - Constructor for class networking.base.SocketThread
Construct new SocketThread object
SocketThread(SocketThread) - Constructor for class networking.base.SocketThread
Copy constructor
start() - Method in class networking.client.applet.ClientApplet
 
STARTED - Static variable in class networking.server.gui.ServerAppUI
State constant - connected
started() - Method in class networking.server.gui.ServerAppUI
 
started() - Method in interface networking.server.IMasterServerListener
MasterServer has started
STARTED - Static variable in class networking.server.MasterServerListenersHost
Event constant - server started
stop() - Method in class networking.client.applet.ClientApplet
 
stop() - Method in interface networking.server.IMasterServer
Stop the server
stop() - Method in class networking.server.MasterServer
 
stop1() - Method in class networking.server.Server
Stop server
STOPPED - Static variable in class networking.server.gui.ServerAppUI
State constant - disconnected
SUCCESS - Static variable in class networking.FileTransfer
Event constant - transfer successful
successful() - Method in class networking.client.frame.FileFrame
 
successful() - Method in class networking.FileTransfer
 
successful() - Method in interface networking.IFileTransferListener
Transfer successful event handler

T

TalkServer - Class in networking.server
TalkServer - this class represents a server which provides an opportinity to exchange messages
TalkServer(Server) - Constructor for class networking.server.TalkServer
Construct new TalkServer object from parent server
terminated() - Method in class networking.server.gui.ServerAppUI
 
terminated() - Method in interface networking.server.IMasterServerListener
MasterServer has terminated
TERMINATED - Static variable in class networking.server.MasterServerListenersHost
Event constant - server terminated
TIMEOUT - Static variable in class networking.protocol.Message
TIMEOUT message type constant - server or client time-out has elapsed
toString() - Method in class networking.protocol.Client
 
toString() - Method in class networking.protocol.Message
 
TRANSFER - Static variable in class networking.client.frame.FileFrame
State constant - file transfer has started
translateMessageType(Message) - Method in class networking.server.FileUploadServer
 
translateMessageType(Message) - Method in class networking.server.Server
Translate message type for sending it to clients
translateMessageType(Message) - Method in class networking.server.TalkServer
Translate message type for sending it to clients
truncated() - Method in class networking.client.frame.FileFrame
 
TRUNCATED - Static variable in class networking.FileTransfer
Event constant - transfer truncated
truncated() - Method in class networking.FileTransfer
 
truncated() - Method in interface networking.IFileTransferListener
Transfer truncated event handler

U

unregister(Server) - Method in class networking.server.MasterServer
Unregister server
unregister(FileUploadServer) - Method in class networking.server.MasterServerEx
Unregister file server
UPLOAD - Static variable in class networking.client.frame.FileFrame
Save mode
Util - Class in networking
 
Util() - Constructor for class networking.Util
 

W

wait(InputStream) - Method in class networking.base.SocketThread
Wait for InputStream become ready for reading, or exit was called or time-out has expired
waitOneOf() - Method in class networking.base.SocketThread
Wait for one of the InputStreams become ready for reading, or exit was called or time-out has expired

Y

YES - Static variable in class networking.client.frame.MsgDialog
Result constant - user selected Yes option
YES_NO - Static variable in class networking.client.frame.MsgDialog
Dialog mode - Yes or No options

A B C D E F G H I J L M N O P R S T U W Y

Copyright © 2009 Alexey Veremenko. All rights reserved.