A B C D F G I N O P R S T U V W _

A

AbstractPrintStream - Class in fr.gedeon.telnetservice.util
Abstracts the minimal implementation methods by extension of PrintStream.
AbstractPrintStream(File, String) - Constructor for class fr.gedeon.telnetservice.util.AbstractPrintStream
 
AbstractPrintStream(File) - Constructor for class fr.gedeon.telnetservice.util.AbstractPrintStream
 
AbstractPrintStream(OutputStream, boolean, String) - Constructor for class fr.gedeon.telnetservice.util.AbstractPrintStream
 
AbstractPrintStream(OutputStream, boolean) - Constructor for class fr.gedeon.telnetservice.util.AbstractPrintStream
 
AbstractPrintStream(OutputStream) - Constructor for class fr.gedeon.telnetservice.util.AbstractPrintStream
 
AbstractPrintStream(String, String) - Constructor for class fr.gedeon.telnetservice.util.AbstractPrintStream
 
AbstractPrintStream(String) - Constructor for class fr.gedeon.telnetservice.util.AbstractPrintStream
 
ActionListener - Interface in fr.gedeon.telnetservice
It is provided by a registered TelnetServiceExtension implementation, and is added as a listener of user activity.
ActionListenerAbstractImpl - Class in fr.gedeon.telnetservice
This is the default implementation of a ActionListener, it does nothing, and returns true to all notify* calls.
ActionListenerAbstractImpl() - Constructor for class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
ActionListenerCreateException - Exception in fr.gedeon.telnetservice
Thrown when there was an error acquiring an ActionListener instance from a provided TelnetServiceExtension implementation that flags itself as a provider of an action listener.
ActionListenerCreateException(String, Throwable) - Constructor for exception fr.gedeon.telnetservice.ActionListenerCreateException
 
actionListenerFactories - Variable in class fr.gedeon.telnetservice.TelnetService
The provider telnet user action listener factories, those will be picked by event distribution priority
ActionListenerInitializationException - Exception in fr.gedeon.telnetservice
Thrown by an ActionListener implementation when it failed its initialization process.
ActionListenerInitializationException() - Constructor for exception fr.gedeon.telnetservice.ActionListenerInitializationException
 
addSessionListener(SessionListener) - Method in class fr.gedeon.telnetservice.Session
 
append(String) - Method in class fr.gedeon.telnetservice.Prompt
 
append(char) - Method in class fr.gedeon.telnetservice.Prompt
 
appendActiveText(char) - Method in class fr.gedeon.telnetservice.Session
 
appendActiveText(String, int) - Method in class fr.gedeon.telnetservice.Session
 
ATTRS_BACK_BLACK - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_BACK_BLUE - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_BACK_CYAN - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_BACK_GREEN - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_BACK_MAGENTA - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_BACK_RED - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_BACK_WHITE - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_BACK_YELLOW - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_DEFAULT - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
attribute sequence to reset attributes = [RESET, DONE]
ATTRS_FORE_BLACK - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_FORE_BLUE - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_FORE_CYAN - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_FORE_GREEN - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_FORE_MAGENTA - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_FORE_RED - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_FORE_WHITE - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
ATTRS_FORE_YELLOW - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 

B

backspaceActiveText(int) - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Remove the last count characters from the active text
backspaceActiveText(int) - Method in class fr.gedeon.telnetservice.Session
 

C

close() - Method in class fr.gedeon.telnetservice.Session
Close all connections
commitActiveText() - Method in class fr.gedeon.telnetservice.Session
 
connectionEstablished(SessionState) - Method in interface fr.gedeon.telnetservice.SessionListener
Notification that the session has just been established
connectionEstablished(SessionState) - Method in class fr.gedeon.telnetservice.TelnetService
 
connectionLost(SessionState) - Method in interface fr.gedeon.telnetservice.SessionListener
Notification that the session has just been lost
connectionLost(SessionState) - Method in class fr.gedeon.telnetservice.TelnetService
 
ConsoleDelegate - Interface in fr.gedeon.telnetservice
Represents the user console in the context of an active connection.
current - Variable in class fr.gedeon.telnetservice.Session
The session thread

D

decoratePrompt(SessionState, Prompt) - Method in interface fr.gedeon.telnetservice.PromptDecorator
The prompt construction is done incrementally by calling the registered decorators in a sequence determined by their priority (given by the serving extension) relative to the other decorators' priorities.
The provided prompt is initialized and may already contain content from higher priority decorators.
decoratePrompt(SessionState, Prompt) - Method in class fr.gedeon.telnetservice.PromptDecoratorDefaultImpl
 
disactivateSession() - Method in class fr.gedeon.telnetservice.SessionState
Set session active flag to false

F

findClassTemplate(Package, Class) - Method in class fr.gedeon.telnetservice.OutputFormatVelocityImpl
 
format(SessionState, Object) - Method in interface fr.gedeon.telnetservice.OutputFormat
Format the given subject for output based on rules that are implementation specific.
format(SessionState, Object, String) - Method in interface fr.gedeon.telnetservice.OutputFormat
Format the given subject for output based on rules that are implementation specific.
format(SessionState, StringBuffer, Object) - Method in interface fr.gedeon.telnetservice.OutputFormat
Format the given subject for output based on rules that are implementation specific.
This version of the signature allows the caller to provide a buffer for this output format implementation to append to.
format(SessionState, StringBuffer, Object, String) - Method in interface fr.gedeon.telnetservice.OutputFormat
Format the given subject for output based on rules that are implementation specific.
This version of the signature allows the caller to provide a buffer for this output format implementation to append to.
format(SessionState, Object) - Method in class fr.gedeon.telnetservice.OutputFormatDefaultImpl
 
format(SessionState, StringBuffer, Object) - Method in class fr.gedeon.telnetservice.OutputFormatDefaultImpl
 
format(SessionState, StringBuffer, Object, String) - Method in class fr.gedeon.telnetservice.OutputFormatDefaultImpl
 
format(SessionState, Object, String) - Method in class fr.gedeon.telnetservice.OutputFormatDefaultImpl
 
format(SessionState, StringBuffer, Object, String) - Method in class fr.gedeon.telnetservice.OutputFormatVelocityImpl
Uses the velocity template associated with the given subject to append this subject's representation to the buffer.
The template is given the following context: outputFormat holds this instance, subject the subject to be represented, and indent the suggested indent to affect each lined
formats(Object) - Method in class fr.gedeon.telnetservice.OutputFormatDefaultImpl
 
formats(Object) - Method in interface fr.gedeon.telnetservice.OutputFormatSpi
Called to check if the implementation of this interface knows how to format the given subject.
formats(Object) - Method in class fr.gedeon.telnetservice.OutputFormatVelocityImpl
 
fr.gedeon.telnetservice - package fr.gedeon.telnetservice
This package homes the core components of the telnetservice.
fr.gedeon.telnetservice.util - package fr.gedeon.telnetservice.util
This package provides a few helper classes that are not required for the proper functioning of the bundle but makes using some functionality easier.

G

getActionDistributionPriority() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
The event distribution priority determines the order in which the listeners will receive an event, when there are more than one listener registered.
getActionDistributionPriority() - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
getActionListener() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
Serve an instance of the ActionListener implemented by this service extension.
Although it is recommended that the Action Listener implementation be stateless (with all state stored in the SessionState), it is left to the implementing party to decide whether to serve a singleton, an instance from a managed pool or a new instance at each call.
This method will be called once per session, at session construction time, following the order described in the package documentation.
getActionListener() - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
getBindPort() - Method in class fr.gedeon.telnetservice.TelnetService
Retreive the current bind port
getBuffer() - Method in class fr.gedeon.telnetservice.util.StringBufferPrintStream
Get the internal storage StringBuffer.
getConnectionTimestamp() - Method in class fr.gedeon.telnetservice.Session
 
getConsoleDelegate() - Method in class fr.gedeon.telnetservice.Session
 
getConsoleOutputStream() - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Convenience getter for situations where integrating application already takes a writer for output of processing results.
getConsoleWriter() - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Convenience getter for situations where integrating application already takes a writer for output of processing results.
getDescription() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
An optional short description of this service extension.
getEOLN() - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Is called by the Session to know what to print for the end-of-line character sequence
getName() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
The name of this service extension.
getOutputFormat() - Method in class fr.gedeon.telnetservice.Session
 
getOutputFormats() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
Provide the OutpuFormats that are provided by this extension.
getOutputFormats() - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
getPriority() - Method in class fr.gedeon.telnetservice.OutputFormatDefaultImpl
This output format has the lowest possible priority.
getPriority() - Method in interface fr.gedeon.telnetservice.OutputFormatSpi
This output format's priority among others.
getPromptDecorator() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
Serve an instance of the ActionListener implemented by this service extension.
Although it is recommended that the Action Listener implementation be stateless (with all state stored in the SessionState), it is left to the implementing party to decide whether to serve a singleton, an instance from a managed pool or a new instance at each call.
This method will be called once per session, at session construction time, following the order described in the package documentation.
getPromptDecorator() - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
getPromptDecoratorPriority() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
The prompt decoration priority determines the order in which the decorators will be called to participate in the prompt construction, when there are more than one decorator registered.
The priority is from smallest to largest.
Note that depending on the return value of the calls to the PromptDecorator.decoratePrompt(SessionState, Prompt) method in a decorator will determine whether the next decorator in the list will be called at all -- some decorators with high priority may block lesser priority decorators from other subsequent prompt modification.
getPromptDecoratorPriority() - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
getRemoteSocketAddress() - Method in class fr.gedeon.telnetservice.Session
 
getRightMargin() - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Is called by the Session when negociating telnet options window width.
Note that there is no garantie that this right margin be honored by the client.
getSession() - Method in class fr.gedeon.telnetservice.SessionState
 
getSessionsIterator() - Method in class fr.gedeon.telnetservice.TelnetService
 
getSessionState() - Method in class fr.gedeon.telnetservice.Session
 
getStateEntry(String) - Method in class fr.gedeon.telnetservice.SessionState
Retrieve the state entry with the given key.
getStateEntry(String) - Method in class fr.gedeon.telnetservice.StateHolder
 

I

initialize(SessionState) - Method in interface fr.gedeon.telnetservice.ActionListener
Is called at session creation to allow for the listener to initialize state.
Note: It is recommended that action listeners be stateless, and all state be stored in the session state.
initialize(SessionState) - Method in class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
initialize(SessionState) - Method in interface fr.gedeon.telnetservice.PromptDecorator
Is called at session creation to allow for the decorator to initialize state.
Note: It is recommended that decorators be stateless, and all state be stored in the session state.
initialize(SessionState) - Method in class fr.gedeon.telnetservice.PromptDecoratorDefaultImpl
 
input - Variable in class fr.gedeon.telnetservice.Session
The connection socket input stream
isRunning() - Method in class fr.gedeon.telnetservice.TelnetService
 
isSessionActive() - Method in class fr.gedeon.telnetservice.SessionState
 

N

notifyConnectionEstablished(SessionState) - Method in class fr.gedeon.telnetservice.Session
 
notifyConnectionLost(SessionState) - Method in class fr.gedeon.telnetservice.Session
 
notifyControlChar(SessionState, String, int, char) - Method in interface fr.gedeon.telnetservice.ActionListener
Called to notify that a Ctrl-c was sent from the user end.
notifyControlChar(SessionState, String, int, char) - Method in class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
notifyDown(SessionState, String, int) - Method in interface fr.gedeon.telnetservice.ActionListener
Called to notify that a down arrow was sent from the user end.
notifyDown(SessionState, String, int) - Method in class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
notifyLeft(SessionState, String, int) - Method in interface fr.gedeon.telnetservice.ActionListener
Called to notify that a left arrow was sent from the user end.
notifyLeft(SessionState, String, int) - Method in class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
notifyNewLine(SessionState, String, int) - Method in interface fr.gedeon.telnetservice.ActionListener
Called to notify that a new line was sent from the user end.
notifyNewLine(SessionState, String, int) - Method in class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
notifyRight(SessionState, String, int) - Method in interface fr.gedeon.telnetservice.ActionListener
Called to notify that a right arrow was sent from the user end.
notifyRight(SessionState, String, int) - Method in class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
notifyTab(SessionState, String, int) - Method in interface fr.gedeon.telnetservice.ActionListener
Called to notify that the tab was sent from the user end.
Note: this method is planned to change as the action listeners will be requested to register which characters are to be sent as triggers (as opposed to the current situation where tab and <CR>
notifyTab(SessionState, String, int) - Method in class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
notifyUp(SessionState, String, int) - Method in interface fr.gedeon.telnetservice.ActionListener
Called to notify that an up arrow was sent from the user end.
notifyUp(SessionState, String, int) - Method in class fr.gedeon.telnetservice.ActionListenerAbstractImpl
 
NullOutputStream - Class in fr.gedeon.telnetservice.util
Null implementation of OutputStream, does nothing with the output.
NullOutputStream() - Constructor for class fr.gedeon.telnetservice.util.NullOutputStream
 

O

OFFSET_UPDATE_LOCK_ALL - Static variable in interface fr.gedeon.telnetservice.ConsoleDelegate
Use to prevent user from editing all text entered so far.
OFFSET_UPDATE_LOCK_PREVIOUS - Static variable in interface fr.gedeon.telnetservice.ConsoleDelegate
Use to allow the user to only edit newly entered text (on the same line)
OFFSET_UPDATE_NO_LOCK - Static variable in interface fr.gedeon.telnetservice.ConsoleDelegate
Use to allow the user to edit both previously entered text (on the same line) and newly written text
output - Variable in class fr.gedeon.telnetservice.Session
The connection socket output stream
output(SessionState, Object) - Method in class fr.gedeon.telnetservice.Session
Shortcut method for calling the session's OutputFormat to format the subject then calling the ConsoleDelegate to write the outcome to the console.
OutputFormat - Interface in fr.gedeon.telnetservice
The OutputFormat interface is used by extensions and integration modules.
outputFormat - Variable in class fr.gedeon.telnetservice.TelnetService
 
OutputFormatDefaultImpl - Class in fr.gedeon.telnetservice
This is the default output format implementation provided by the basic package, it formats everything by calling String.valueOf(...) on the subject.
OutputFormatDefaultImpl() - Constructor for class fr.gedeon.telnetservice.OutputFormatDefaultImpl
 
OutputFormatException - Exception in fr.gedeon.telnetservice
Thrown by an OutputFormat implementation when there was an issue that prevented the formatting of a subject.
OutputFormatException(String) - Constructor for exception fr.gedeon.telnetservice.OutputFormatException
 
OutputFormatException(String, Throwable) - Constructor for exception fr.gedeon.telnetservice.OutputFormatException
 
OutputFormatSpi - Interface in fr.gedeon.telnetservice
This is the service provider's additional interface definition to the OutputFormat API.
OutputFormatVelocityImpl - Class in fr.gedeon.telnetservice
This implementation of the OutputFormat interface formats a given subject using a selected Apache Velocity Engine template.
OutputFormatVelocityImpl() - Constructor for class fr.gedeon.telnetservice.OutputFormatVelocityImpl
 
OutputFormatVT100Constants - Interface in fr.gedeon.telnetservice
VT100 formatting constants.
OutputFormatVT100Impl - Class in fr.gedeon.telnetservice
Abstract implementation of the OutputFormat interface that provides VT100 coloring helper methods.
OutputFormatVT100Impl() - Constructor for class fr.gedeon.telnetservice.OutputFormatVT100Impl
 

P

prepend(String) - Method in class fr.gedeon.telnetservice.Prompt
 
Prompt - Class in fr.gedeon.telnetservice
This is the data representation of the console prompt.
PromptDecorator - Interface in fr.gedeon.telnetservice
Classes implementing this interface can be provided by a TelnetServiceExtension for contribution in the construction of the user console prompt.
PromptDecoratorCreateException - Exception in fr.gedeon.telnetservice
Thrown by the service when an exception occurs while trying to acquire an instance of the prompt decorator provided by a TelnetServiceExtension.
PromptDecoratorCreateException(String) - Constructor for exception fr.gedeon.telnetservice.PromptDecoratorCreateException
 
PromptDecoratorCreateException(String, Throwable) - Constructor for exception fr.gedeon.telnetservice.PromptDecoratorCreateException
 
PromptDecoratorDefaultImpl - Class in fr.gedeon.telnetservice
The default prompt decorator implementation, decorates the prompt by appending "> ".
PromptDecoratorDefaultImpl() - Constructor for class fr.gedeon.telnetservice.PromptDecoratorDefaultImpl
 
promptDecoratorFactories - Variable in class fr.gedeon.telnetservice.TelnetService
 
PromptDecoratorInitializationException - Exception in fr.gedeon.telnetservice
Thrown by a PromptDecorator implementation when it fails to initialize.
PromptDecoratorInitializationException(String) - Constructor for exception fr.gedeon.telnetservice.PromptDecoratorInitializationException
 
PromptDecoratorInitializationException(String, Throwable) - Constructor for exception fr.gedeon.telnetservice.PromptDecoratorInitializationException
 
providesActionListener() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
This method will be checked before a call to TelnetServiceExtension.getActionListener() or TelnetServiceExtension.getActionDistributionPriority() is made.
providesActionListener() - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
providesOutputFormats() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
This method will be checked before calls to TelnetServiceExtension.getOutputFormats(), which will be called if the returned value is true
providesOutputFormats() - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
providesPromptDecorator() - Method in interface fr.gedeon.telnetservice.TelnetServiceExtension
This method will be checked before a call to TelnetServiceExtension.getPromptDecorator() or TelnetServiceExtension.getPromptDecoratorPriority() is made.
providesPromptDecorator() - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
putStateEntry(String, Object) - Method in class fr.gedeon.telnetservice.SessionState
Store the given value with the given key.
putStateEntry(String, Object) - Method in class fr.gedeon.telnetservice.StateHolder
 

R

registeredExtensions - Variable in class fr.gedeon.telnetservice.TelnetService
 
registerExtension(TelnetServiceExtension) - Method in class fr.gedeon.telnetservice.TelnetService
 
removeAllSessionListeners() - Method in class fr.gedeon.telnetservice.Session
 
removeSessionListener(SessionListener) - Method in class fr.gedeon.telnetservice.Session
 
removeStateEntry(String) - Method in class fr.gedeon.telnetservice.SessionState
Remove the value stored with this key.
removeStateEntry(String) - Method in class fr.gedeon.telnetservice.StateHolder
 
replaceActiveText(String, int) - Method in class fr.gedeon.telnetservice.Session
 
resetAttrs(StringBuffer) - Method in class fr.gedeon.telnetservice.OutputFormatVT100Impl
Reset attributes for upcoming text in the buffer
resetAttrs(Prompt) - Method in class fr.gedeon.telnetservice.OutputFormatVT100Impl
 
run() - Method in class fr.gedeon.telnetservice.Session
Session run main loop
run() - Method in class fr.gedeon.telnetservice.TelnetService
Main service loop, while running accept connections and start Sessions

S

serverSocket - Variable in class fr.gedeon.telnetservice.TelnetService
The server socket that is waiting for incoming connections
Session - Class in fr.gedeon.telnetservice
The Telnet Session is the main engine for a telnet connection; it handles inputs and outputs, keeping telnet state, responding to telnet specific commands, and notifies the Telnet Session Controller of important events (such as client input, client screen resize, etc) through the available notify* methods of ActionListeners provided by registered TelnetServiceExtension.
SessionListener - Interface in fr.gedeon.telnetservice
Classes that implement this interface can register to receive session connection events.
SessionState - Class in fr.gedeon.telnetservice
Holds the state of the session, as well as that of the integrating application relating to the session.
There is one Session State instance per session, and it is provided by the Session.
SessionState() - Constructor for class fr.gedeon.telnetservice.SessionState
 
setActionDistributionPriority(Integer) - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
setAttrs(StringBuffer, byte[][]) - Method in class fr.gedeon.telnetservice.OutputFormatVT100Impl
Set VT100 text attributes; set a sequence of attributes declared in OutputFormatVT100Constants.
setAttrs(StringBuffer, List<byte[]>) - Method in class fr.gedeon.telnetservice.OutputFormatVT100Impl
 
setAttrs(Prompt, List<byte[]>) - Method in class fr.gedeon.telnetservice.OutputFormatVT100Impl
 
setAttrs(Prompt, byte[][]) - Method in class fr.gedeon.telnetservice.OutputFormatVT100Impl
 
setBindPort(int) - Method in class fr.gedeon.telnetservice.TelnetService
Set the bind port.
setPromptDecorationPriority(Integer) - Method in class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
setRightMargin(int) - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Is called by the Session when the client requests a specific window width.
setSuppressOutput(boolean) - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Use this method to turn character echo to the user on/off.
Note: the password prompt is automatically configured with suppressOutput = true while typing password, and turned back off afterwards.
socket - Variable in class fr.gedeon.telnetservice.Session
The connection socket
start() - Method in class fr.gedeon.telnetservice.Session
Start the session daemon: setup telnet options, then start the input processing.
start() - Method in class fr.gedeon.telnetservice.TelnetService
Start the service.
StateEntryNotFoundException - Exception in fr.gedeon.telnetservice
Thrown by a SessionHolder when an entry was requested with a key but was not found.
StateEntryNotFoundException(String) - Constructor for exception fr.gedeon.telnetservice.StateEntryNotFoundException
 
StateHolder - Class in fr.gedeon.telnetservice
Provides a location to store state entries.
This class is expected to change as means of simplifying the state storage are designed.
StateHolder() - Constructor for class fr.gedeon.telnetservice.StateHolder
 
stop() - Method in class fr.gedeon.telnetservice.Session
Stop this session
stop() - Method in class fr.gedeon.telnetservice.TelnetService
Stop the service asap.
StringBufferPrintStream - Class in fr.gedeon.telnetservice.util
This provides a PrintStream implementation that outputs the stream to an internal StringBuffer that is available through StringBufferPrintStream.getBuffer().
StringBufferPrintStream() - Constructor for class fr.gedeon.telnetservice.util.StringBufferPrintStream
 
style(byte[][]) - Method in class fr.gedeon.telnetservice.OutputFormatVT100Impl
 
style(List<byte[]>) - Method in class fr.gedeon.telnetservice.OutputFormatVT100Impl
 
STYLE_BLINK - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
STYLE_BOLD - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
STYLE_DIM - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
STYLE_HIDDEN - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
STYLE_REVERSE - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
STYLE_UNDERSCORE - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
 
styleAttributes - Variable in class fr.gedeon.telnetservice.util.VT100PrintStream
 

T

TelnetService - Class in fr.gedeon.telnetservice
The service's main daemon component is the Telnet Service.
TelnetService() - Constructor for class fr.gedeon.telnetservice.TelnetService
Default constructor, does nothing
TelnetServiceException - Exception in fr.gedeon.telnetservice
This is the common exception thrown by the different telnet service components.
TelnetServiceException(String) - Constructor for exception fr.gedeon.telnetservice.TelnetServiceException
Constructor with message
TelnetServiceException(String, Throwable) - Constructor for exception fr.gedeon.telnetservice.TelnetServiceException
Constructor with message and root cause
TelnetServiceExtension - Interface in fr.gedeon.telnetservice
The ServiceExtension is the entry point for customizing the service.
A service extension has 2 purposes: it acts as a factory for ActionListeners, and specifies their priority in receiving action events, and it acts as a factory for PromptDecorators, and specifies the order in which they are invoked to construct the console prompt It is expected that the service extension name is unique, as it will be used when notifying about error situations and when logging activity.
TelnetServiceExtensionAbstractImpl - Class in fr.gedeon.telnetservice
Provides the implementation of the most basic API methods.
TelnetServiceExtensionAbstractImpl() - Constructor for class fr.gedeon.telnetservice.TelnetServiceExtensionAbstractImpl
 
TelnetServiceStartException - Exception in fr.gedeon.telnetservice
Thrown by the service on start failure.
TelnetServiceStartException(String, Throwable) - Constructor for exception fr.gedeon.telnetservice.TelnetServiceStartException
 
thread - Variable in class fr.gedeon.telnetservice.TelnetService
The current thread, also the running flag: the runnable runs while it is not null
toString() - Method in class fr.gedeon.telnetservice.OutputFormatVelocityImpl
 
toString() - Method in class fr.gedeon.telnetservice.Prompt
 

U

unregisterAllExtensions() - Method in class fr.gedeon.telnetservice.TelnetService
 
updateActiveText(String, boolean, int) - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Write txt to the telnet console current active text.

V

VT100PrintStream - Class in fr.gedeon.telnetservice.util
Provides a way to apply a VT100 style to all output that goes through it.
VT100PrintStream(byte[][], File, String) - Constructor for class fr.gedeon.telnetservice.util.VT100PrintStream
 
VT100PrintStream(byte[][], File) - Constructor for class fr.gedeon.telnetservice.util.VT100PrintStream
 
VT100PrintStream(byte[][], OutputStream, boolean, String) - Constructor for class fr.gedeon.telnetservice.util.VT100PrintStream
 
VT100PrintStream(byte[][], OutputStream, boolean) - Constructor for class fr.gedeon.telnetservice.util.VT100PrintStream
 
VT100PrintStream(byte[][], OutputStream) - Constructor for class fr.gedeon.telnetservice.util.VT100PrintStream
 
VT100PrintStream(byte[][], String, String) - Constructor for class fr.gedeon.telnetservice.util.VT100PrintStream
 
VT100PrintStream(byte[][], String) - Constructor for class fr.gedeon.telnetservice.util.VT100PrintStream
 

W

write(char[], int, int) - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Write a subsequence of the given character buffer to the console, starting at off and of length len.
write(byte[], int, int) - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Write a subsequence of the given byte buffer to the console, starting at off and of length len.
write(String) - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Write the given text string to the console.
write(byte[], int, int) - Method in class fr.gedeon.telnetservice.Session
 
write(char[], int, int) - Method in class fr.gedeon.telnetservice.Session
 
write(String) - Method in class fr.gedeon.telnetservice.Session
 
write(int) - Method in class fr.gedeon.telnetservice.util.AbstractPrintStream
 
write(byte[], int, int) - Method in class fr.gedeon.telnetservice.util.AbstractPrintStream
 
write(int) - Method in class fr.gedeon.telnetservice.util.NullOutputStream
 
write(int) - Method in class fr.gedeon.telnetservice.util.StringBufferPrintStream
 
write(byte[], int, int) - Method in class fr.gedeon.telnetservice.util.StringBufferPrintStream
 
write(int) - Method in class fr.gedeon.telnetservice.util.VT100PrintStream
 
write(byte[], int, int) - Method in class fr.gedeon.telnetservice.util.VT100PrintStream
 
writeln(String) - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Write txt to the telnet console.
writeln(String) - Method in class fr.gedeon.telnetservice.Session
 
writeNewLine() - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Request a new line on the telnet console as defined by the assigned display handler.
The controller will be asked for the prompt to show once the newline is output.
Note: in the current implementation, this will automatically lock the previous line from user edit.
writePrompt() - Method in interface fr.gedeon.telnetservice.ConsoleDelegate
Request the display of the prompt after having written to output
writePrompt() - Method in class fr.gedeon.telnetservice.Session
 

_

_DONE - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
end of attribute setting sequence
_MORE - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
attribute separator when using more than one attribute
_RESET - Static variable in interface fr.gedeon.telnetservice.OutputFormatVT100Constants
reset attributes for upcoming characters
_write(int) - Method in class fr.gedeon.telnetservice.util.AbstractPrintStream
Use this method to delegate calls to those with similar signature from PrintStream.
_write(byte[], int, int) - Method in class fr.gedeon.telnetservice.util.AbstractPrintStream
Use this method to delegate calls to those with similar signature from PrintStream.

A B C D F G I N O P R S T U V W _

Copyright © 2008. All Rights Reserved.