|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SessionState | |
---|---|
fr.gedeon.telnetservice | This package homes the core components of the telnetservice. |
Uses of SessionState in fr.gedeon.telnetservice |
---|
Methods in fr.gedeon.telnetservice that return SessionState | |
---|---|
SessionState |
Session.getSessionState()
|
Methods in fr.gedeon.telnetservice with parameters of type SessionState | |
---|---|
void |
TelnetService.connectionEstablished(SessionState sessionState)
|
void |
SessionListener.connectionEstablished(SessionState sessionState)
Notification that the session has just been established |
void |
TelnetService.connectionLost(SessionState sessionState)
|
void |
SessionListener.connectionLost(SessionState sessionState)
Notification that the session has just been lost |
boolean |
PromptDecoratorDefaultImpl.decoratePrompt(SessionState sessionState,
Prompt prompt)
|
boolean |
PromptDecorator.decoratePrompt(SessionState sessionState,
Prompt prompt)
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. |
String |
OutputFormatDefaultImpl.format(SessionState sessionState,
Object subject)
|
String |
OutputFormat.format(SessionState sessionState,
Object subject)
Format the given subject for output based on rules that are implementation specific. |
String |
OutputFormatDefaultImpl.format(SessionState sessionState,
Object subject,
String indent)
|
String |
OutputFormat.format(SessionState sessionState,
Object subject,
String indent)
Format the given subject for output based on rules that are implementation specific. |
StringBuffer |
OutputFormatDefaultImpl.format(SessionState sessionState,
StringBuffer buffer,
Object subject)
|
StringBuffer |
OutputFormat.format(SessionState sessionState,
StringBuffer buffer,
Object subject)
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. |
StringBuffer |
OutputFormatVelocityImpl.format(SessionState sessionState,
StringBuffer buffer,
Object subject,
String indent)
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
|
StringBuffer |
OutputFormatDefaultImpl.format(SessionState sessionState,
StringBuffer buffer,
Object subject,
String indent)
|
StringBuffer |
OutputFormat.format(SessionState sessionState,
StringBuffer buffer,
Object subject,
String indent)
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. |
void |
PromptDecoratorDefaultImpl.initialize(SessionState sessionState)
|
void |
PromptDecorator.initialize(SessionState sessionState)
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. |
void |
ActionListenerAbstractImpl.initialize(SessionState sessionState)
|
void |
ActionListener.initialize(SessionState sessionState)
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. |
void |
Session.notifyConnectionEstablished(SessionState sessionState)
|
void |
Session.notifyConnectionLost(SessionState sessionState)
|
boolean |
ActionListenerAbstractImpl.notifyControlChar(SessionState sessionState,
String currentBuffer,
int relOffset,
char c)
|
boolean |
ActionListener.notifyControlChar(SessionState sessionState,
String currentBuffer,
int relOffset,
char c)
Called to notify that a Ctrl-c was sent from the user end. |
boolean |
ActionListenerAbstractImpl.notifyDown(SessionState sessionState,
String currentBuffer,
int relOffset)
|
boolean |
ActionListener.notifyDown(SessionState sessionState,
String currentBuffer,
int relOffset)
Called to notify that a down arrow was sent from the user end. |
boolean |
ActionListenerAbstractImpl.notifyLeft(SessionState sessionState,
String currentBuffer,
int relOffset)
|
boolean |
ActionListener.notifyLeft(SessionState sessionState,
String currentBuffer,
int relOffset)
Called to notify that a left arrow was sent from the user end. |
boolean |
ActionListenerAbstractImpl.notifyNewLine(SessionState sessionState,
String currentBuffer,
int relOffset)
|
boolean |
ActionListener.notifyNewLine(SessionState sessionState,
String currentBuffer,
int relOffset)
Called to notify that a new line was sent from the user end. |
boolean |
ActionListenerAbstractImpl.notifyRight(SessionState sessionState,
String currentBuffer,
int relOffset)
|
boolean |
ActionListener.notifyRight(SessionState sessionState,
String currentBuffer,
int relOffset)
Called to notify that a right arrow was sent from the user end. |
boolean |
ActionListenerAbstractImpl.notifyTab(SessionState sessionState,
String currentBuffer,
int relOffset)
|
boolean |
ActionListener.notifyTab(SessionState sessionState,
String currentBuffer,
int relOffset)
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> |
boolean |
ActionListenerAbstractImpl.notifyUp(SessionState sessionState,
String currentBuffer,
int relOffset)
|
boolean |
ActionListener.notifyUp(SessionState sessionState,
String currentBuffer,
int relOffset)
Called to notify that an up arrow was sent from the user end. |
void |
Session.output(SessionState sessionState,
Object subject)
Shortcut method for calling the session's OutputFormat to format the
subject then calling the ConsoleDelegate to write the outcome
to the console. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |