Index
All Classes and Interfaces|All Packages
A
- applyFunction(String) - Method in interface com.ensea_chatapp_tcp.Client.DataFetchHandler
- asynchronous_fetch(DataFetchHandler) - Method in class com.ensea_chatapp_tcp.Client.TCPClient
-
Start a thread in order to fetch the data from server asynchronously.
C
- ChatApplication - Class in com.ensea_chatapp_gui
-
This the graphical interface which is a subclass of javafx application class This will run a graphical interface which receives ip and port from user in order to connect to the chat app server
- ChatApplication() - Constructor for class com.ensea_chatapp_gui.ChatApplication
- com.ensea_chatapp_gui - package com.ensea_chatapp_gui
- com.ensea_chatapp_tcp.Client - package com.ensea_chatapp_tcp.Client
- com.ensea_chatapp_tcp.Server - package com.ensea_chatapp_tcp.Server
- com.ensea_chatapp_udp.Client - package com.ensea_chatapp_udp.Client
- com.ensea_chatapp_udp.Server - package com.ensea_chatapp_udp.Server
- ConnectionThread - Class in com.ensea_chatapp_tcp.Server
-
Thread in order to handle clients' connections The thread listen and accept connection.
- ConnectionThread(TCPServer) - Constructor for class com.ensea_chatapp_tcp.Server.ConnectionThread
-
Constructor
D
- DataFetchHandler - Interface in com.ensea_chatapp_tcp.Client
-
This is an Interface in order to Wrap the handler to data fetch.
E
- Echo(String) - Method in class com.ensea_chatapp_tcp.Server.TCPServer
-
Send message to all clients connected to threads
F
- fetch_data() - Method in class com.ensea_chatapp_tcp.Client.TCPClient
-
Try to fetch data
- FetchThread - Class in com.ensea_chatapp_tcp.Client
-
This is a class to implement a Thread in order to fetch data from the TCP server consistently.
- FetchThread(TCPClient, DataFetchHandler) - Constructor for class com.ensea_chatapp_tcp.Client.FetchThread
-
The Constructor of FetchThread class
G
- GetServerSocket() - Method in class com.ensea_chatapp_tcp.Server.TCPServer
L
- launch() - Method in class com.ensea_chatapp_tcp.Client.TCPClient
- launch() - Method in class com.ensea_chatapp_tcp.Server.TCPServer
- launch() - Method in class com.ensea_chatapp_udp.Client.UDPClient
-
launch the client in order to read data from command line and send it to server
- launch() - Method in class com.ensea_chatapp_udp.Server.UDPServer
-
launch the server in order to receive data from clients and print it in console
M
- main(String[]) - Static method in class com.ensea_chatapp_gui.ChatApplication
- main(String[]) - Static method in class com.ensea_chatapp_tcp.Client.TCPClient
- main(String[]) - Static method in class com.ensea_chatapp_tcp.Server.TCPServer
- main(String[]) - Static method in class com.ensea_chatapp_udp.Client.UDPClient
- main(String[]) - Static method in class com.ensea_chatapp_udp.Server.UDPServer
N
- NewConnection() - Method in class com.ensea_chatapp_tcp.Server.TCPServer
-
Create a new connection thread and add it to the connection threads list
R
- RemoveConnection(ConnectionThread) - Method in class com.ensea_chatapp_tcp.Server.TCPServer
-
Remove a connection thread from connection threads list
- run() - Method in class com.ensea_chatapp_tcp.Client.FetchThread
-
The method run in order to start the FetchThread.
- run() - Method in class com.ensea_chatapp_tcp.Server.ConnectionThread
-
The method run in order to start the FetchThread.
S
- send_data(String) - Method in class com.ensea_chatapp_tcp.Client.TCPClient
-
send String data to Server
- send_message(String) - Method in class com.ensea_chatapp_tcp.Server.ConnectionThread
-
Send a message to the client connected to this thread
- start(Stage) - Method in class com.ensea_chatapp_gui.ChatApplication
-
start primary scene
- synchronous_send_and_fetch() - Method in class com.ensea_chatapp_tcp.Client.TCPClient
-
send data read from console to server and fetch the data available from server synchronously The function will continue fetch sending/fetching cycle infinitely
T
- TCPClient - Class in com.ensea_chatapp_tcp.Client
-
This is a class to implement a TCP Client needed to connect to the chat TCP server
- TCPClient() - Constructor for class com.ensea_chatapp_tcp.Client.TCPClient
- TCPClient(String) - Constructor for class com.ensea_chatapp_tcp.Client.TCPClient
- TCPClient(String, int) - Constructor for class com.ensea_chatapp_tcp.Client.TCPClient
- TCPServer - Class in com.ensea_chatapp_tcp.Server
-
This is a class to implement a chat app TCP Server
- TCPServer() - Constructor for class com.ensea_chatapp_tcp.Server.TCPServer
- TCPServer(int) - Constructor for class com.ensea_chatapp_tcp.Server.TCPServer
- toString() - Method in class com.ensea_chatapp_tcp.Server.TCPServer
-
Returns state of the Server
- toString() - Method in class com.ensea_chatapp_udp.Server.UDPServer
-
Returns state of the Server
U
- UDPClient - Class in com.ensea_chatapp_udp.Client
-
This is a class to implement a UDP Client which send data to the UDP server
- UDPServer - Class in com.ensea_chatapp_udp.Server
-
This is a class to implement a UDP Server which receives data and print it in console
All Classes and Interfaces|All Packages