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

A

activity() - Method in class org.jline.builtins.telnet.ConnectionData
Sets a new timestamp to the actual time in millis retrieved from the System.
addConnectionListener(ConnectionListener) - Method in class org.jline.builtins.telnet.Connection
Method that registers a ConnectionListener with the Connection instance.
AO - Static variable in class org.jline.builtins.telnet.TelnetIO
Abort Output
AUTHENTICATION - Static variable in class org.jline.builtins.telnet.TelnetIO
 
AYT - Static variable in class org.jline.builtins.telnet.TelnetIO
Are You There

B

BRK - Static variable in class org.jline.builtins.telnet.TelnetIO
Break

C

close() - Method in class org.jline.builtins.telnet.Connection
Closes the connection and its underlying i/o and network resources.
closeInput() - Method in class org.jline.builtins.telnet.TelnetIO
Method to close the underlying inputstream to free system resources.
Most likely only to be called by the ConnectionManager upon clean up of connections that ended or died.
closeOutput() - Method in class org.jline.builtins.telnet.TelnetIO
Method to close the underlying output stream to free system resources.
Most likely only to be called by the ConnectionManager upon clean up of connections that ended or died.
Connection - Class in org.jline.builtins.telnet
Class that implements a connection with this telnet daemon.
Connection(ThreadGroup, ConnectionData) - Constructor for class org.jline.builtins.telnet.Connection
Constructs a TelnetConnection by invoking its parent constructor and setting of various members.
Subsequently instantiates the whole i/o subsystem, negotiating telnet protocol level options etc.
CONNECTION_BREAK - org.jline.builtins.telnet.ConnectionEvent.Type
Defines the connection sent break event type.
It occurs when the connection sent a NVT BREAK.
CONNECTION_IDLE - org.jline.builtins.telnet.ConnectionEvent.Type
Defines the connection idle event type.
It occurs if a connection has been idle exceeding the configured time to warning.
CONNECTION_LOGOUTREQUEST - org.jline.builtins.telnet.ConnectionEvent.Type
Defines the connection requested logout event type.
CONNECTION_TERMINAL_GEOMETRY_CHANGED - org.jline.builtins.telnet.ConnectionEvent.Type
Defines the connection geometry event type.
CONNECTION_TIMEDOUT - org.jline.builtins.telnet.ConnectionEvent.Type
Defines the connection timed out event type.
It occurs if a connection has been idle exceeding the configured time to warning and the configured time to timedout.
ConnectionData - Class in org.jline.builtins.telnet
An utility class that is used to store and allow retrieval of all data associated with a connection.
ConnectionData(Socket, ConnectionManager) - Constructor for class org.jline.builtins.telnet.ConnectionData
Constructs a ConnectionData instance storing vital information about a connection.
ConnectionEvent - Class in org.jline.builtins.telnet
Class implementing a ConnectionEvent.
These events are used to communicate things that are supposed to be handled within the application context.
ConnectionEvent(Connection, ConnectionEvent.Type) - Constructor for class org.jline.builtins.telnet.ConnectionEvent
Constructs a new instance of a ConnectionEvent with a given source (Connection) and a given type.
ConnectionEvent.Type - Enum in org.jline.builtins.telnet
 
ConnectionFilter - Interface in org.jline.builtins.telnet
Interface defining a generic IP level connection filter.
Due to the fact that this task depends heavily on application context, I chose a very generic way of applying IP level connection filtering.
connectionIdle(ConnectionEvent) - Method in interface org.jline.builtins.telnet.ConnectionListener
Called when a CONNECTION_IDLE event occured.
ConnectionListener - Interface in org.jline.builtins.telnet
Interface to be implemented if a class wants to qualify as a ConnectionListener.
Note that a Shell is per contract also forced to implement this interface.
connectionLogoutRequest(ConnectionEvent) - Method in interface org.jline.builtins.telnet.ConnectionListener
Called when a CONNECTION_LOGOUTREQUEST occured.
ConnectionManager - Class in org.jline.builtins.telnet
Class that takes care for active and queued connection.
ConnectionManager() - Constructor for class org.jline.builtins.telnet.ConnectionManager
 
ConnectionManager(int, int, int, int, ConnectionFilter, String, boolean) - Constructor for class org.jline.builtins.telnet.ConnectionManager
 
connectionSentBreak(ConnectionEvent) - Method in interface org.jline.builtins.telnet.ConnectionListener
Called when a CONNECTION_BREAK event occured.
connectionTerminalGeometryChanged(ConnectionEvent) - Method in interface org.jline.builtins.telnet.ConnectionListener
Called when a CONNECTION_TERMINAL_GEOMETRY_CHANGED event occured.
connectionTimedOut(ConnectionEvent) - Method in interface org.jline.builtins.telnet.ConnectionListener
Called when a CONNECTION_TIMEDOUT event occured.
createConnection(ThreadGroup, ConnectionData) - Method in class org.jline.builtins.telnet.ConnectionManager
 

D

DM - Static variable in class org.jline.builtins.telnet.TelnetIO
Data mark its the data part of a SYNCH which helps to clean up the buffers between Telnet Server <-> Telnet Client.
DO - Static variable in class org.jline.builtins.telnet.TelnetIO
Negotiation: Do option
doClose() - Method in class org.jline.builtins.telnet.Connection
 
DONT - Static variable in class org.jline.builtins.telnet.TelnetIO
Negotiation: Dont do option
doRun() - Method in class org.jline.builtins.telnet.Connection
 

E

EC - Static variable in class org.jline.builtins.telnet.TelnetIO
Erase Char
ECHO - Static variable in class org.jline.builtins.telnet.TelnetIO
Telnet Option: ECHO
EL - Static variable in class org.jline.builtins.telnet.TelnetIO
Erase Line
ENCRYPT - Static variable in class org.jline.builtins.telnet.TelnetIO
 
EXT_ASCII - Static variable in class org.jline.builtins.telnet.TelnetIO
Unused

F

flush() - Method in class org.jline.builtins.telnet.TelnetIO
Method to flush all buffered output.
functions - Static variable in class org.jline.builtins.telnet.Telnet
 

G

GA - Static variable in class org.jline.builtins.telnet.TelnetIO
Go Ahead
Newer Telnets do not make use of this option that allows a specific communication mode.
getConnection(int) - Method in class org.jline.builtins.telnet.ConnectionManager
Returns the Connection at the given index.
getConnectionData() - Method in class org.jline.builtins.telnet.Connection
Method to access the associated connection data.
getConnectionFilter() - Method in class org.jline.builtins.telnet.ConnectionManager
Gets the active ConnectionFilter instance or returns null if no filter is set.
getConnectionManager() - Method in class org.jline.builtins.telnet.PortListener
Returns reference to ConnectionManager instance associated with the PortListener.
getConnectionsByAdddress(InetAddress) - Method in class org.jline.builtins.telnet.ConnectionManager
Get all Connection instances with the given InetAddress.
getDisconnectTimeout() - Method in class org.jline.builtins.telnet.ConnectionManager
 
getEnvironment() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the hashmap for storing and retrieving environment variables to be passed between shells.
getHostAddress() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the IP address of the connection.
getHostName() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the fully qualified host name for the connection's IP address.
The name is cached on creation for performance reasons.
getHousekeepingInterval() - Method in class org.jline.builtins.telnet.ConnectionManager
 
getInetAddress() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the InetAddress object associated with the connection.
getLastActivity() - Method in class org.jline.builtins.telnet.ConnectionData
Returns a timestamp of the last activity that happened on the associated connection.
getLocale() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the Locale object associated with the connection by carrying out a simple domain match.
getLoginShell() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the login shell name.
getLoginShell() - Method in class org.jline.builtins.telnet.ConnectionManager
 
getManager() - Method in class org.jline.builtins.telnet.ConnectionData
Returns a reference to the ConnectionManager the connection is associated with.
getMaxConnections() - Method in class org.jline.builtins.telnet.ConnectionManager
 
getName() - Method in class org.jline.builtins.telnet.PortListener
Returns the name of this PortListener.
getNegotiatedTerminalType() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the terminal type that has been negotiated between the telnet client and the telnet server, in of a String.
getPort() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the remote port to which the socket is connected.
getSocket() - Method in class org.jline.builtins.telnet.ConnectionData
Returns a reference to the socket the Connection is associated with.
getSource() - Method in class org.jline.builtins.telnet.ConnectionEvent
Accessor method returning the source of the ConnectionEvent instance.
getTerminalColumns() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the width of the terminal in columns for convenience.
getTerminalGeometry() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the terminal geometry in an array of two integers.
getTerminalRows() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the height of the terminal in rows for convenience.
getType() - Method in class org.jline.builtins.telnet.ConnectionEvent
Method that helps identifying the type.
getWarningTimeout() - Method in class org.jline.builtins.telnet.ConnectionManager
 

I

IAC - Static variable in class org.jline.builtins.telnet.TelnetIO
Interpret As Command
initIO() - Method in class org.jline.builtins.telnet.TelnetIO
 
IP - Static variable in class org.jline.builtins.telnet.TelnetIO
Interrupt Process
IS - Static variable in class org.jline.builtins.telnet.TelnetIO
TTYPE subnegotiation: IS
isActive() - Method in class org.jline.builtins.telnet.Connection
Returns if a connection has been closed.
isAllowed(InetAddress) - Method in interface org.jline.builtins.telnet.ConnectionFilter
Tests if a given ip address is allowed to connect.
isAvailable() - Method in class org.jline.builtins.telnet.PortListener
Tests if this PortListener is available.
isLineMode() - Method in class org.jline.builtins.telnet.ConnectionData
Tests if in line mode.
isLineMode() - Method in class org.jline.builtins.telnet.ConnectionManager
 
isTerminalGeometryChanged() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the state of the terminal geometry changed flag, which will be true if it has been set, and false if not.
isWarned() - Method in class org.jline.builtins.telnet.ConnectionData
Returns the state of the idle warning flag, which will be true if a warning has been issued, and false if not.

L

LINEMODE - Static variable in class org.jline.builtins.telnet.TelnetIO
Telnet Option: Linemode
LM_EDIT - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_FORWARDMASK - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_MODE - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_MODEACK - Static variable in class org.jline.builtins.telnet.TelnetIO
Following methods implement init/request/answer procedures for telnet protocol level communication.
LM_SLC - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_ABORT - Static variable in class org.jline.builtins.telnet.TelnetIO
The following implement the NVT (network virtual terminal) which offers the concept of a simple "printer".
LM_SLC_ACK - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_AO - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_AYT - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_BRK - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_CANTCHANGE - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_DEFAULT - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_EOF - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_EOR - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_FLUSHIN - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_FLUSHOUT - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_IP - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_LEVELBITS - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_NOSUPPORT - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_SUSP - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_SYNCH - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_SLC_VALUE - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LM_TRAPSIG - Static variable in class org.jline.builtins.telnet.TelnetIO
 
LOGOUT - Static variable in class org.jline.builtins.telnet.TelnetIO
Telnet Option: Logout
This allows nice goodbye to time-outed or unwanted clients.

M

makeConnection(Socket) - Method in class org.jline.builtins.telnet.ConnectionManager
Method that that tries to connect an incoming request.

N

NAWS - Static variable in class org.jline.builtins.telnet.TelnetIO
Telnet Option: Negotiate About Window Size
Server request is IAC DO NAWS Client response contains subnegotiation with data (columns, rows).
NE_ESC - Static variable in class org.jline.builtins.telnet.TelnetIO
The following options are options for which we also support subnegotiation based upon the telnet protocol specification.
NE_IN_END - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_IN_ERROR - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_INFO - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_USERVAR - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_VALUE - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_VAR - Static variable in class org.jline.builtins.telnet.TelnetIO
The following are constants for supported options, which can be negotiated based upon the telnet protocol specification.
NE_VAR_DEFINED - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_VAR_DEFINED_EMPTY - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_VAR_NAME_MAXLENGTH - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_VAR_OK - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_VAR_UNDEFINED - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NE_VAR_VALUE_MAXLENGTH - Static variable in class org.jline.builtins.telnet.TelnetIO
 
NEWENV - Static variable in class org.jline.builtins.telnet.TelnetIO
Telnet Option: Environment
NOP - Static variable in class org.jline.builtins.telnet.TelnetIO
No operation

O

openConnectionCount() - Method in class org.jline.builtins.telnet.ConnectionManager
Returns the number of open connections.
org.jline.builtins.telnet - package org.jline.builtins.telnet
 

P

PortListener - Class in org.jline.builtins.telnet
Class that implements a PortListener.
If available, it accepts incoming connections and passes them to an associated ConnectionManager.
PortListener(String, String, int, int) - Constructor for class org.jline.builtins.telnet.PortListener
Constructs a PortListener instance.
processConnectionEvent(ConnectionEvent) - Method in class org.jline.builtins.telnet.Connection
Method called by the io subsystem to pass on a "low-level" event.

R

read() - Method in class org.jline.builtins.telnet.TelnetIO
Method to read a byte from the InputStream.
registerClosedConnection(Connection) - Method in class org.jline.builtins.telnet.ConnectionManager
 
removeConnectionListener(ConnectionListener) - Method in class org.jline.builtins.telnet.Connection
Method that removes a ConnectionListener from the Connection instance.
run() - Method in class org.jline.builtins.telnet.Connection
Method overloaded to implement following behaviour: On first entry, retrieve an instance of the configured login shell from the ShellManager and run it.
run() - Method in class org.jline.builtins.telnet.ConnectionManager
Periodically does following work: cleaning up died connections.
run() - Method in class org.jline.builtins.telnet.PortListener
Listen constantly to a server socket and handles incoming connections through the associated {a:link ConnectionManager}.

S

SB - Static variable in class org.jline.builtins.telnet.TelnetIO
Marks start of a subnegotiation.
SE - Static variable in class org.jline.builtins.telnet.TelnetIO
Marks end of subnegotiation.
SEND - Static variable in class org.jline.builtins.telnet.TelnetIO
TTYPE subnegotiation: SEND
SEND_LOC - Static variable in class org.jline.builtins.telnet.TelnetIO
 
setAvailable(boolean) - Method in class org.jline.builtins.telnet.PortListener
Sets the availability flag of this PortListener.
setConnection(Connection) - Method in class org.jline.builtins.telnet.TelnetIO
 
setConnectionFilter(ConnectionFilter) - Method in class org.jline.builtins.telnet.ConnectionManager
Set a connection filter for this ConnectionManager instance.
setConnectionManager(ConnectionManager) - Method in class org.jline.builtins.telnet.PortListener
 
setDisconnectTimeout(int) - Method in class org.jline.builtins.telnet.ConnectionManager
 
setEcho(boolean) - Method in class org.jline.builtins.telnet.TelnetIO
 
setHousekeepingInterval(int) - Method in class org.jline.builtins.telnet.ConnectionManager
 
setLineMode(boolean) - Method in class org.jline.builtins.telnet.ConnectionData
Sets the line mode flag for the connection.
setLineMode(boolean) - Method in class org.jline.builtins.telnet.ConnectionManager
 
setLoginShell(String) - Method in class org.jline.builtins.telnet.ConnectionData
Sets the login shell name.
setLoginShell(String) - Method in class org.jline.builtins.telnet.ConnectionManager
 
setMaxConnections(int) - Method in class org.jline.builtins.telnet.ConnectionManager
 
setNegotiatedTerminalType(String) - Method in class org.jline.builtins.telnet.ConnectionData
Sets the terminal type that has been negotiated between telnet client and telnet server, in form of a String.
setTerminalGeometry(int, int) - Method in class org.jline.builtins.telnet.ConnectionData
Sets the terminal geometry data.
This method should not be called explicitly by the application (i.e.
setWarned(boolean) - Method in class org.jline.builtins.telnet.ConnectionData
Sets the state of the idle warning flag.
Note that this method will also update the the timestamp if the idle warning flag is removed, which means its kind of a second way to achieve the same thing as with the activity method.
setWarningTimeout(int) - Method in class org.jline.builtins.telnet.ConnectionManager
 
shell(Terminal, Map<String, String>) - Method in interface org.jline.builtins.telnet.Telnet.ShellProvider
 
start() - Method in class org.jline.builtins.telnet.ConnectionManager
Starts this ConnectionManager.
start() - Method in class org.jline.builtins.telnet.PortListener
Starts this PortListener.
stop() - Method in class org.jline.builtins.telnet.ConnectionManager
Stops this ConnectionManager.
stop() - Method in class org.jline.builtins.telnet.PortListener
Stops this PortListener, and returns when everything was stopped successfully.
SUPGA - Static variable in class org.jline.builtins.telnet.TelnetIO
Telnet Option: SUPress Go Ahead
This will be negotiated, all new telnet protocol implementations are recommended to do this.

T

Telnet - Class in org.jline.builtins.telnet
 
Telnet(Terminal, Telnet.ShellProvider) - Constructor for class org.jline.builtins.telnet.Telnet
 
Telnet.ShellProvider - Interface in org.jline.builtins.telnet
 
telnetd(String[]) - Method in class org.jline.builtins.telnet.Telnet
 
TelnetIO - Class in org.jline.builtins.telnet
Class that represents the TelnetIO implementation.
TelnetIO() - Constructor for class org.jline.builtins.telnet.TelnetIO
Creates a TelnetIO object for the given connection.
Input- and OutputStreams are properly set and the primary telnet protocol initialization is carried out by the inner IACHandler class.
TTYPE - Static variable in class org.jline.builtins.telnet.TelnetIO
Telnet Option: Terminal TYPE
Server request contains subnegotiation SEND Client response contains subnegotiation with data IS,terminal type string

V

valueOf(String) - Static method in enum org.jline.builtins.telnet.ConnectionEvent.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jline.builtins.telnet.ConnectionEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WILL - Static variable in class org.jline.builtins.telnet.TelnetIO
Negotiation: Will do option
WONT - Static variable in class org.jline.builtins.telnet.TelnetIO
Negotiation: Wont do option
write(byte) - Method in class org.jline.builtins.telnet.TelnetIO
Method to output a byte.
write(byte[]) - Method in class org.jline.builtins.telnet.TelnetIO
Method to write an array of bytes.
write(char) - Method in class org.jline.builtins.telnet.TelnetIO
Method to write a char.
write(int) - Method in class org.jline.builtins.telnet.TelnetIO
Method to output an int.
write(int[]) - Method in class org.jline.builtins.telnet.TelnetIO
Method to output an array of int' s.
write(String) - Method in class org.jline.builtins.telnet.TelnetIO
Method to output a string.
A B C D E F G I L M N O P R S T V W 
All Classes All Packages