A B C D E F G H I L N O P R S T U W 
All Classes All Packages

A

addChar(char, String) - Method in class org.cristian.t4j.banner.Font
 
Authenticator(BufferedReader, PrintWriter) - Constructor for class org.cristian.t4j.TelnetServer.Authenticator
 

B

Banner - Class in org.cristian.t4j.banner
ASCII banner generator.
Banner() - Constructor for class org.cristian.t4j.banner.Banner
 
Banner(Font) - Constructor for class org.cristian.t4j.banner.Banner
 

C

Command - Variable in exception org.cristian.t4j.TelnetServer.Command.InvalidCommandException
 
Command(String) - Constructor for class org.cristian.t4j.TelnetServer.Command
 

D

DEFAULT_AUTHENTICATOR - Static variable in class org.cristian.t4j.TelnetServer
 
DEFAULT_HANDLER - Static variable in class org.cristian.t4j.TelnetServer
 
DEFAULT_PORT - Static variable in class org.cristian.t4j.TelnetServer
 
DEFAULT_PROMPT_LINE - Static variable in class org.cristian.t4j.TelnetServer
 
DEFAULT_WELCOME_MESSAGE - Static variable in class org.cristian.t4j.TelnetServer
 
DefaultFont - Class in org.cristian.t4j.banner
Default font.
DefaultFont() - Constructor for class org.cristian.t4j.banner.DefaultFont
 

E

execute(PrintWriter, BufferedReader, String[]) - Method in class org.cristian.t4j.TelnetServer.Command
Execute the request and return the output when completed.

F

Font - Class in org.cristian.t4j.banner
Font abstract class.
Font() - Constructor for class org.cristian.t4j.banner.Font
 

G

generate(String) - Method in class org.cristian.t4j.banner.Banner
Generate a banner from the given text.
getAvailableCommands() - Method in class org.cristian.t4j.TelnetServer
Get the available commands on this server.
getChar(char) - Method in class org.cristian.t4j.banner.Font
 
getCharacterHeight() - Method in class org.cristian.t4j.banner.Font
 
getCharacterWidth() - Method in class org.cristian.t4j.banner.Font
 
getCommand() - Method in class org.cristian.t4j.TelnetServer.Command
Get the command's name.
getCommandPrompt() - Method in class org.cristian.t4j.TelnetServer
Get the server's prompt line.
getMessage() - Method in exception org.cristian.t4j.TelnetServer.Command.InvalidCommandException
 
getNextThreadID() - Static method in class org.cristian.t4j.TelnetServer.Handler
Generate an ID for a handler thread.
getRequest(String) - Method in class org.cristian.t4j.TelnetServer
Match a user input to a registered command.
getShortDescription() - Method in class org.cristian.t4j.TelnetServer.Command
Get the command's description.
getSideSpace() - Method in class org.cristian.t4j.banner.Font
 
getUnderSpace() - Method in class org.cristian.t4j.banner.Font
 
getWelcomeMessage() - Method in class org.cristian.t4j.TelnetServer
Get the server's welcome message.

H

handle() - Method in class org.cristian.t4j.TelnetDefaultAuthenticator
 
handle() - Method in class org.cristian.t4j.TelnetServer.Authenticator
Executes the authenticator proccess.
handle(BufferedReader, PrintWriter) - Method in class org.cristian.t4j.TelnetDefaultHandler
 
handle(BufferedReader, PrintWriter) - Method in class org.cristian.t4j.TelnetServer.Handler
Executes the handling code in a loop until the connection is closed.
Handler(Socket, TelnetServer) - Constructor for class org.cristian.t4j.TelnetServer.Handler
 

I

InvalidArgumentException(String) - Constructor for exception org.cristian.t4j.TelnetServer.Command.InvalidArgumentException
 
InvalidCommandException(String) - Constructor for exception org.cristian.t4j.TelnetServer.Command.InvalidCommandException
 
isAuthenticated() - Method in class org.cristian.t4j.TelnetServer.Authenticator
Check if the user has been successfully authenticated.
isAuthenticated(boolean) - Method in class org.cristian.t4j.TelnetServer.Authenticator
Set the status of the user authentication.

L

LOG - Static variable in class org.cristian.t4j.TelnetServer.Authenticator
 
LOG - Static variable in class org.cristian.t4j.TelnetServer.Handler
 
LOG - Static variable in class org.cristian.t4j.TelnetServer
 

N

newAuthenticator(BufferedReader, PrintWriter) - Method in class org.cristian.t4j.TelnetDefaultAuthenticator
 
newAuthenticator(BufferedReader, PrintWriter) - Method in class org.cristian.t4j.TelnetServer.Authenticator
Make a new authenticator instance.
newHandler(Socket, TelnetServer) - Method in class org.cristian.t4j.TelnetDefaultHandler
 
newHandler(Socket, TelnetServer) - Method in class org.cristian.t4j.TelnetServer.Handler
Make a new server handler instance.

O

org.cristian.t4j - package org.cristian.t4j
 
org.cristian.t4j.banner - package org.cristian.t4j.banner
 

P

PORT_KEY - Static variable in class org.cristian.t4j.TelnetServer
 
PROMPT_LINE_KEY - Static variable in class org.cristian.t4j.TelnetServer
 

R

registerCommand(TelnetServer.Command) - Method in class org.cristian.t4j.TelnetServer
Register a Telnet command on this server.
removeHandler(String) - Method in class org.cristian.t4j.TelnetServer
Remove a handler from this server.
run() - Method in class org.cristian.t4j.TelnetServer.Handler
 
run() - Method in class org.cristian.t4j.TelnetServer
 
Running - Variable in class org.cristian.t4j.TelnetServer.Handler
 

S

ServerAuthenticator - Variable in class org.cristian.t4j.TelnetServer
 
Service - Variable in class org.cristian.t4j.TelnetServer.Handler
 
setCharacterHeight(int) - Method in class org.cristian.t4j.banner.Font
 
setCharacterWidth(int) - Method in class org.cristian.t4j.banner.Font
 
setSideSpace(int) - Method in class org.cristian.t4j.banner.Font
 
setUnderSpace(int) - Method in class org.cristian.t4j.banner.Font
 
setup(BufferedReader, PrintWriter) - Method in class org.cristian.t4j.TelnetServer.Handler
Executes the setup code once after running the authenticator's code.
Socket - Variable in class org.cristian.t4j.TelnetServer.Handler
 
STDIN - Variable in class org.cristian.t4j.TelnetServer.Authenticator
 
STDOUT - Variable in class org.cristian.t4j.TelnetServer.Authenticator
 

T

TelnetDefaultAuthenticator - Class in org.cristian.t4j
Default anonymous authenticator.
TelnetDefaultAuthenticator(BufferedReader, PrintWriter) - Constructor for class org.cristian.t4j.TelnetDefaultAuthenticator
 
TelnetDefaultHandler - Class in org.cristian.t4j
This is the default telnet handler class.
TelnetDefaultHandler(Socket, TelnetServer) - Constructor for class org.cristian.t4j.TelnetDefaultHandler
 
TelnetServer - Class in org.cristian.t4j
Telnet Monitor Service (Thread) which allows users to telnet in and request/monitor internal services.
TelnetServer() - Constructor for class org.cristian.t4j.TelnetServer
 
TelnetServer(String, String, String, TelnetServer.Handler, TelnetServer.Authenticator) - Constructor for class org.cristian.t4j.TelnetServer
 
TelnetServer(String, String, TelnetServer.Handler, TelnetServer.Authenticator) - Constructor for class org.cristian.t4j.TelnetServer
 
TelnetServer(String, TelnetServer.Handler, TelnetServer.Authenticator) - Constructor for class org.cristian.t4j.TelnetServer
 
TelnetServer(TelnetServer.Handler, TelnetServer.Authenticator) - Constructor for class org.cristian.t4j.TelnetServer
 
TelnetServer.Authenticator - Class in org.cristian.t4j
Absctract class used as template for authenticators.
TelnetServer.Command - Class in org.cristian.t4j
This is the class that should be extended when wanting to add available commands to the Telnet Monitor.
TelnetServer.Command.InvalidArgumentException - Exception in org.cristian.t4j
When arguments given are invalid (not enough, too many, etc).
TelnetServer.Command.InvalidCommandException - Exception in org.cristian.t4j
Invalid Command given to the Telnet Server.
TelnetServer.Handler - Class in org.cristian.t4j
Absctract class used as template for handlers.
terminate() - Method in class org.cristian.t4j.TelnetServer
Safely kill the thread.
terminate(boolean) - Method in class org.cristian.t4j.TelnetServer.Handler
Terminate this handler.

U

user() - Method in class org.cristian.t4j.TelnetServer.Authenticator
Get the username of the authenticated user.
user(String) - Method in class org.cristian.t4j.TelnetServer.Authenticator
Set the username of the authenticated user.
User - Variable in class org.cristian.t4j.TelnetServer.Handler
 

W

WELCOME_MESSAGE_KEY - Static variable in class org.cristian.t4j.TelnetServer
 
A B C D E F G H I L N O P R S T U W 
All Classes All Packages