Skip navigation links
A C D E F G H I L M P R S U V 

A

AddCommand - Class in client.commandline.pdcommands
 
AddCommand() - Constructor for class client.commandline.pdcommands.AddCommand
 
AddIfMaxCommand - Class in client.commandline.pdcommands
 
AddIfMaxCommand() - Constructor for class client.commandline.pdcommands.AddIfMaxCommand
 
AddIfMinCommand - Class in client.commandline.pdcommands
 
AddIfMinCommand() - Constructor for class client.commandline.pdcommands.AddIfMinCommand
 
addNewInput(Reader, String) - Method in class client.commandline.CommandLineHandler
 
alias - Variable in class client.commandline.Command
 
args - Variable in class client.commandline.Command
 
awaitInput(String, String) - Method in class client.commandline.CommandLineHandler
Метод, ожидающий ввода из потока ввода reader и возвращающий результат, печатает запрос msg перед ожиданием данных (если их вводит пользователь), печатает ошибку err, если при вводе данных произошла ошибка
awaitInput(String, String, Predicate<String>) - Method in class client.commandline.CommandLineHandler
Метод, ожидающий ввода из потока ввода reader и возвращающий результат, печатает запрос msg перед ожиданием данных (если их вводит пользователь), печатает ошибку err, если введенные данные не соответствуют предикату predicate
awaitInput(String, String, Predicate<String>, Function<String, T>) - Method in class client.commandline.CommandLineHandler
Метод, ожидающий ввода из потока ввода reader и возвращающий результат, печатает запрос msg перед ожиданием данных (если их вводит пользователь), печатает ошибку err, если введенные данные не соответствуют предикату predicate, преобразует результат в тип T в соответствии с функцией transform

C

ClearCommand - Class in client.commandline.pdcommands
 
ClearCommand() - Constructor for class client.commandline.pdcommands.ClearCommand
 
client - package client
 
client.commandline - package client.commandline
 
client.commandline.pdcommands - package client.commandline.pdcommands
 
client.net - package client.net
 
clientOnly - Variable in class client.commandline.Command
 
Command - Class in client.commandline
 
Command(String, boolean, String, Executable) - Constructor for class client.commandline.Command
 
CommandLineHandler - Class in client.commandline
Класс обработчика командной строки, реализует шаблон проектирования Singleton, читает ввод с командной строки, обрабатывает его и вызывает соответствующую команду на выполнение из регистра команд, используйте метод CommandLineHandler.start() для его запуска
CommandLineHandler.ExecuteScriptCommand - Class in client.commandline
 
CommandLineHandler.ExitCommand - Class in client.commandline
 
CommandLineHandler.HistoryCommand - Class in client.commandline
 
CommandLineHandler.ModeCommand - Class in client.commandline
 
CommandRegistry - Class in client.commandline
Класс регистра команд, используемый для добавления, переопределения или удаления команд
CommandRegistry.CommandAlreadyExistsException - Exception in client.commandline
 
CommandRegistry.CommandNotFoundException - Exception in client.commandline
 
CommandRegistry.HelpCommand - Class in client.commandline
 
connect() - Method in class client.net.UDPClient
 
createCoordinates() - Static method in class client.commandline.pdcommands.PeopleDatabaseCommands
 
createLocation() - Static method in class client.commandline.pdcommands.PeopleDatabaseCommands
 
createPerson() - Static method in class client.commandline.pdcommands.PeopleDatabaseCommands
 

D

description - Variable in class client.commandline.Command
 
disconnect() - Method in class client.net.UDPClient
 

E

executable - Variable in class client.commandline.Command
 
executeOnClient() - Method in class client.commandline.Command
 
executeOnClient() - Method in class client.commandline.pdcommands.PeopleDatabaseCommand
 
executeOnServer(UDPClient, Command) - Method in class client.commandline.CommandLineHandler
 
ExecuteScriptCommand() - Constructor for class client.commandline.CommandLineHandler.ExecuteScriptCommand
 
ExitCommand() - Constructor for class client.commandline.CommandLineHandler.ExitCommand
 

F

FilterContainsNameCommand - Class in client.commandline.pdcommands
 
FilterContainsNameCommand() - Constructor for class client.commandline.pdcommands.FilterContainsNameCommand
 

G

getCommand(String) - Static method in class client.commandline.CommandRegistry
 
getInstance() - Static method in class client.commandline.CommandLineHandler
 
getValue() - Method in enum client.commandline.LongStrings
 

H

HelpCommand() - Constructor for class client.commandline.CommandRegistry.HelpCommand
 
HistoryCommand() - Constructor for class client.commandline.CommandLineHandler.HistoryCommand
 

I

InfoCommand - Class in client.commandline.pdcommands
 
InfoCommand() - Constructor for class client.commandline.pdcommands.InfoCommand
 

L

Lab5Client - Class in client
 
Lab5Client() - Constructor for class client.Lab5Client
 
LongStrings - Enum in client.commandline
 

M

main(String[]) - Static method in class client.Lab5Client
 
ModeCommand() - Constructor for class client.commandline.CommandLineHandler.ModeCommand
 

P

peopleDatabase - Static variable in class client.commandline.pdcommands.PeopleDatabaseCommands
 
PeopleDatabaseCommand - Class in client.commandline.pdcommands
 
PeopleDatabaseCommand(String, boolean, String, Executable) - Constructor for class client.commandline.pdcommands.PeopleDatabaseCommand
 
PeopleDatabaseCommands - Class in client.commandline.pdcommands
Класс объявления всех команд, связанных с манипуляциями над объектом класса PeopleDatabase
PrintFieldDescendingLocationCommand - Class in client.commandline.pdcommands
 
PrintFieldDescendingLocationCommand() - Constructor for class client.commandline.pdcommands.PrintFieldDescendingLocationCommand
 

R

reassignCommand(Command) - Static method in class client.commandline.CommandRegistry
 
receive() - Method in class client.net.UDPClient
 
registerCommand(Command) - Static method in class client.commandline.CommandRegistry
 
registerCommands(Command...) - Static method in class client.commandline.CommandRegistry
 
registerDatabaseCommands() - Static method in class client.commandline.pdcommands.PeopleDatabaseCommands
Метод добавления всех команд в регистр команд, обязательно вызывайте его в своей программе, если вам требуются данные команды
RemoveByIdCommand - Class in client.commandline.pdcommands
 
RemoveByIdCommand() - Constructor for class client.commandline.pdcommands.RemoveByIdCommand
 
removeInput() - Method in class client.commandline.CommandLineHandler
 

S

SaveCommand - Class in client.commandline.pdcommands
 
SaveCommand() - Constructor for class client.commandline.pdcommands.SaveCommand
 
send(Executable, Object[]) - Method in class client.net.UDPClient
 
ShowCommand - Class in client.commandline.pdcommands
 
ShowCommand() - Constructor for class client.commandline.pdcommands.ShowCommand
 
start() - Method in class client.commandline.CommandLineHandler
Метод, запускающий обработчик командной строки, для остановки требуется ввести команду "exit"
SumOfHeightCommand - Class in client.commandline.pdcommands
 
SumOfHeightCommand() - Constructor for class client.commandline.pdcommands.SumOfHeightCommand
 

U

UDPClient - Class in client.net
 
UDPClient(int) - Constructor for class client.net.UDPClient
 
UDPClient(String, int) - Constructor for class client.net.UDPClient
 
unregisterCommand(String) - Static method in class client.commandline.CommandRegistry
 
UpdateCommand - Class in client.commandline.pdcommands
 
UpdateCommand() - Constructor for class client.commandline.pdcommands.UpdateCommand
 

V

validate(String[]) - Method in class client.commandline.Command
 
validate(String[]) - Method in class client.commandline.CommandLineHandler.ExecuteScriptCommand
 
validate(String[]) - Method in class client.commandline.CommandLineHandler.ExitCommand
 
validate(String[]) - Method in class client.commandline.CommandLineHandler.HistoryCommand
 
validate(String[]) - Method in class client.commandline.CommandLineHandler.ModeCommand
 
validate(String[]) - Method in class client.commandline.CommandRegistry.HelpCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.AddCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.AddIfMaxCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.AddIfMinCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.ClearCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.FilterContainsNameCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.InfoCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.PrintFieldDescendingLocationCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.RemoveByIdCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.SaveCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.ShowCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.SumOfHeightCommand
 
validate(String[]) - Method in class client.commandline.pdcommands.UpdateCommand
 
validateIdCommand(String[]) - Static method in class client.commandline.pdcommands.PeopleDatabaseCommand
 
valueOf(String) - Static method in enum client.commandline.LongStrings
Returns the enum constant of this type with the specified name.
values() - Static method in enum client.commandline.LongStrings
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I L M P R S U V 
Skip navigation links