Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C D E F G H I K L M N O P R S T V

A

addPropertyChangeListener(PropertyChangeListener) - Method in class com.synaptics.elvis.Elvis
Add a PropertyChangeListener to the listener list.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.synaptics.elvis.ElvisComm
Add a PropertyChangeListener to the listener list.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.synaptics.elvis.ElvisMessage
 
addPropertyChangeListener(PropertyChangeListener) - Method in class com.synaptics.elvis.ElvisMessageFactory
 
auth - Variable in class com.synaptics.elvis.ElvisComm
 

C

CHECKING - Static variable in class com.synaptics.elvis.ElvisCommStatus
We are looking to see if another Elvis might exist on this machine.
CONNECTING - Static variable in class com.synaptics.elvis.ElvisCommStatus
There might be another Elvis, and we are trying to contact him.
com.synaptics.elvis - package com.synaptics.elvis
 

D

data - Variable in class com.synaptics.elvis.ElvisMessage
Holds value of property data.
data - Variable in class com.synaptics.elvis.ElvisResult
This is the data associated with this particular result.

E

Elvis - class com.synaptics.elvis.Elvis.
Elvis is a package for implementing a singleton, not only within a JVM, but for a given user on a particular machine.
Elvis(String, int, ElvisHandler, PropertyChangeListener) - Constructor for class com.synaptics.elvis.Elvis
Creates a new Elvis.
Elvis.StatusListener - class com.synaptics.elvis.Elvis.StatusListener.
This is used to monitor the status of the ElvisComm, and adjust the feedback string as necessary (among other possible, not yet implemented, actions.
Elvis.StatusListener(ElvisComm) - Constructor for class com.synaptics.elvis.Elvis.StatusListener
 
ElvisComm - class com.synaptics.elvis.ElvisComm.
 
ElvisComm(String, int, ElvisHandler) - Constructor for class com.synaptics.elvis.ElvisComm
Creates a new ElvisComm, using the specified program name, port number, and handler.
ElvisCommStatus - class com.synaptics.elvis.ElvisCommStatus.
ElvisCommStatus implements an enumeration of the various statuses than an ElvisComm may have.
ElvisCommStatus(String) - Constructor for class com.synaptics.elvis.ElvisCommStatus
Creates new ElvisCommStatus
ElvisException - exception com.synaptics.elvis.ElvisException.
Used by the various components of Elvis when an Exception is needed.
ElvisException() - Constructor for class com.synaptics.elvis.ElvisException
Creates new ElvisException without detail message.
ElvisException(String) - Constructor for class com.synaptics.elvis.ElvisException
Constructs an ElvisException with the specified detail message.
ElvisException(String, Throwable) - Constructor for class com.synaptics.elvis.ElvisException
Constructs an ElvisException with the specified detail message.
ElvisHandler - interface com.synaptics.elvis.ElvisHandler.
ElvisHandler is the primitive interface for the handlers passed to ElvisHandler.get() .
ElvisMessage - class com.synaptics.elvis.ElvisMessage.
ElvisMessage is used internally by Elvis to both build and parse the messages exchanged between the One True Elvis and various impersonators.
ElvisMessage() - Constructor for class com.synaptics.elvis.ElvisMessage
Creates new ElvisMessage
ElvisMessage(String, String, String, String) - Constructor for class com.synaptics.elvis.ElvisMessage
Create a new ElvisMessage for the given program, key, keyword and data
ElvisMessageFactory - class com.synaptics.elvis.ElvisMessageFactory.
The ElvisMessageFactory is just a handy utility for assembling ElvisMessages.
ElvisMessageFactory(String, String) - Constructor for class com.synaptics.elvis.ElvisMessageFactory
Creates new ElvisMessageFactory for the specified program and key.
ElvisRequest - class com.synaptics.elvis.ElvisRequest.
ElvisRequest implements an enumeration of the requests that a client may send to Elvis.
ElvisRequest(String) - Constructor for class com.synaptics.elvis.ElvisRequest
Creates new ElvisRequest
ElvisResponse - class com.synaptics.elvis.ElvisResponse.
ElvisResponse implements an enumeration of the responses that an Elvis may send to its clients in response to ElvisRequests.
ElvisResponse(String) - Constructor for class com.synaptics.elvis.ElvisResponse
Creates new ElvisResponse
ElvisResult - class com.synaptics.elvis.ElvisResult.
 
ElvisResult(ElvisResponse, String) - Constructor for class com.synaptics.elvis.ElvisResult
Create a new result with the corresponding response and data.
ElvisTest - class com.synaptics.elvis.ElvisTest.
This is a handy dandy test program to verify the basic functionality of Elvis.
ElvisTest() - Constructor for class com.synaptics.elvis.ElvisTest
Creates new form ElvisTest
ElvisTest.FeedbackListener - class com.synaptics.elvis.ElvisTest.FeedbackListener.
This is used to monitor and report feedback from Elvis.
ElvisTest.FeedbackListener() - Constructor for class com.synaptics.elvis.ElvisTest.FeedbackListener
 
ElvisTest.TestHandler - class com.synaptics.elvis.ElvisTest.TestHandler.
 
ElvisTest.TestHandler(ElvisTest) - Constructor for class com.synaptics.elvis.ElvisTest.TestHandler
 
emf - Variable in class com.synaptics.elvis.ElvisComm
This guy puts together messages for us to send to another Elvis, either requests to be sent to the One True Elvis, or responses to be sent back to a client.
exitButton - Variable in class com.synaptics.elvis.ElvisTest
 
exitButtonActionPerformed(ActionEvent) - Method in class com.synaptics.elvis.ElvisTest
 
exitForm(WindowEvent) - Method in class com.synaptics.elvis.ElvisTest
Exit the Application

F

FAIL - Static variable in class com.synaptics.elvis.ElvisResponse
FAIL indicates that Elvis is not happy with the request.
FAILED - Static variable in class com.synaptics.elvis.ElvisCommStatus
We failed miserably in setting up the listener.
fail(String) - Static method in class com.synaptics.elvis.ElvisResult
Return a ElvisResult with a response of ElvisResponse.FAIL and the specified data string.
feedback - Variable in class com.synaptics.elvis.Elvis
A handy dandy feedback string that the Elvis application can consult.
feedbackListener - Variable in class com.synaptics.elvis.ElvisTest
 

G

get(String, int, ElvisHandler) - Static method in class com.synaptics.elvis.Elvis
Get an instance of the specified Elvis program on the specified port.
get(String, int, ElvisHandler, PropertyChangeListener) - Static method in class com.synaptics.elvis.Elvis
Get an instance of the specified Elvis program on the specified port.
getData() - Method in class com.synaptics.elvis.ElvisMessage
Get the data field associated with this message.
getData() - Method in class com.synaptics.elvis.ElvisResult
Return the data associated with this result.
getFeedback() - Method in class com.synaptics.elvis.Elvis
The feedback property provides information about the state and activities of Elvis.
getHandler() - Method in class com.synaptics.elvis.Elvis
Returns the handler associated with this Elvis.
getHandler() - Method in class com.synaptics.elvis.ElvisComm
Return the ElvisHandler we are using.
getKey() - Method in class com.synaptics.elvis.ElvisMessage
Get the key associated with this message.
getKey() - Method in class com.synaptics.elvis.ElvisMessageFactory
Return the key associated with this message factory.
getKeyword() - Method in class com.synaptics.elvis.ElvisMessage
Get the keyword associated with this message.
getPort() - Method in class com.synaptics.elvis.Elvis
Get the port number that this Elvis is (or should be) listening on.
getPort() - Method in class com.synaptics.elvis.ElvisComm
Gets the port number that we are communicating over.
getProgram() - Method in class com.synaptics.elvis.Elvis
The program name is the unique identifier for this Elvis's functionality.
getProgram() - Method in class com.synaptics.elvis.ElvisMessage
Get the program name associated with this message.
getProgram() - Method in class com.synaptics.elvis.ElvisMessageFactory
Return the program name associated with this message factory.
getResponse() - Method in class com.synaptics.elvis.ElvisResult
Returns the ElvisResponse for this result.
getStatus() - Method in class com.synaptics.elvis.ElvisComm
Return the ElvisCommStatus corresponding to the current state of the ElvisComm.

H

HEADER - Static variable in class com.synaptics.elvis.ElvisMessage
 
handler - Variable in class com.synaptics.elvis.Elvis
The request handler, provided by the Elvis application
handler - Variable in class com.synaptics.elvis.ElvisComm
This is the Elvis handler provided by the client.
handler - Variable in class com.synaptics.elvis.ElvisTest
 
hasLeftTheBuilding() - Method in class com.synaptics.elvis.Elvis
Returns true if Elvis has left the building; false if he is still around and ready to perform.

I

inTheBuilding - Variable in class com.synaptics.elvis.Elvis
Indicates whether this Elvis is active or not.
initComponents() - Method in class com.synaptics.elvis.ElvisTest
This method is called from within the constructor to initialize the form.
intrusion() - Method in class com.synaptics.elvis.ElvisComm
This will warn the user that someone is attempting to break into his system.
isTheOneTrueElvis() - Method in class com.synaptics.elvis.Elvis
theOneTrueElvis indicates whether this Elvis is The King (true) or just an impersonator (false).

K

key - Variable in class com.synaptics.elvis.ElvisComm
 
key - Variable in class com.synaptics.elvis.ElvisMessage
Holds value of property key.
key - Variable in class com.synaptics.elvis.ElvisMessageFactory
Holds value of property key.
keyword - Variable in class com.synaptics.elvis.ElvisMessage
Holds value of property keyword.
knownRequests - Static variable in class com.synaptics.elvis.ElvisRequest
 
knownResponse - Static variable in class com.synaptics.elvis.ElvisResponse
 
knownStatus - Static variable in class com.synaptics.elvis.ElvisCommStatus
We keep a list of valid statuses here for checking.

L

LOCKING - Static variable in class com.synaptics.elvis.ElvisCommStatus
Are in the process of locking the authentication information file.
leaveTheBuilding() - Method in class com.synaptics.elvis.Elvis
Calling leaveTheBuilding() will result in the Elvis listener thread being cancelled (if this Elvis is the one true Elvis) and most Elvis related infrastructure being dismantled.
listener - Variable in class com.synaptics.elvis.Elvis.StatusListener
 
listener - Variable in class com.synaptics.elvis.Elvis
The listener handles most of Elvis's communication.
log - Variable in class com.synaptics.elvis.ElvisTest
 

M

MAX_PORT_OFFSET - Static variable in class com.synaptics.elvis.ElvisComm
A random number between this 0 and this value will be added to the port number submitted by the user.
MAX_SERVER_PORT - Static variable in class com.synaptics.elvis.ElvisComm
The maximum possible port number is 65535.
MIN_SERVER_PORT - Static variable in class com.synaptics.elvis.ElvisComm
This value is chosen to prevent collisions with the so called "well known" ports like ftp, telnet, etc.
main(String[]) - Static method in class com.synaptics.elvis.ElvisTest
 
msg - Variable in class com.synaptics.elvis.ElvisTest
 

N

NEW - Static variable in class com.synaptics.elvis.ElvisCommStatus
This instance has been created but not started.
NOT_THE_KING - Static variable in class com.synaptics.elvis.ElvisCommStatus
There is another Elvis, he responded correctly, so we will be asking him to handle all performance requests.
NO_RESPONSE - Static variable in class com.synaptics.elvis.ElvisCommStatus
The other Elvis did not send a reasonable response.
name - Variable in class com.synaptics.elvis.ElvisCommStatus
This is the string associated with this status.
name - Variable in class com.synaptics.elvis.ElvisRequest
 
name - Variable in class com.synaptics.elvis.ElvisResponse
 
newMessage(String, String) - Method in class com.synaptics.elvis.ElvisMessageFactory
Create a new message with the specified keyword and data.
newMessage(ElvisResponse, String) - Method in class com.synaptics.elvis.ElvisMessageFactory
Create a new message corresponding to the given response, with the specified data field.
newMessage(ElvisRequest, String) - Method in class com.synaptics.elvis.ElvisMessageFactory
Create a new message corresponding to the given request, with the specified data field.

O

OK - Static variable in class com.synaptics.elvis.ElvisCommStatus
Indicates that we are the One True Elvis, and are waiting for a request.
OK - Static variable in class com.synaptics.elvis.ElvisResponse
OK indicates that Elvis is happy with the request.

P

PERFORM - Static variable in class com.synaptics.elvis.ElvisRequest
PERFORM is a request to invoke the default ElvisHandler for this program.
PING - Static variable in class com.synaptics.elvis.ElvisRequest
PING is basically a request to see if the other Elvis is there.
PROCESSING - Static variable in class com.synaptics.elvis.ElvisCommStatus
Indicates that we are the One True Elvis, and are handling a request.
parent - Variable in class com.synaptics.elvis.ElvisTest.TestHandler
 
parse(String) - Static method in class com.synaptics.elvis.ElvisMessage
This is a factory method for creating an ElvisMessage from a given input string (hopefully, one received from an Elvis or an Elvis client.
perform(String) - Method in class com.synaptics.elvis.Elvis
Calling this will cause Elvis to do something.
perform(String) - Method in class com.synaptics.elvis.ElvisComm
 
perform(String, int) - Method in class com.synaptics.elvis.ElvisComm
Contact the One True Elvis and request him to perform something for us.
perform(String) - Method in interface com.synaptics.elvis.ElvisHandler
The perform() method is what actually performs the work associated with this incarnation of Elvis.
perform(String) - Method in class com.synaptics.elvis.ElvisTest.TestHandler
 
port - Variable in class com.synaptics.elvis.Elvis
The port associated with this instance of Elvis
port - Variable in class com.synaptics.elvis.ElvisComm
 
program - Variable in class com.synaptics.elvis.Elvis
This is the name of the Elvis program associated with this instance of Elvis
program - Variable in class com.synaptics.elvis.ElvisComm
This is the name of the program, as supplied by the user.
program - Variable in class com.synaptics.elvis.ElvisMessage
Holds value of property program.
program - Variable in class com.synaptics.elvis.ElvisMessageFactory
Holds value of property program.
propertyChange(PropertyChangeEvent) - Method in class com.synaptics.elvis.Elvis.StatusListener
 
propertyChange(PropertyChangeEvent) - Method in class com.synaptics.elvis.ElvisTest.FeedbackListener
 
propertyChangeSupport - Variable in class com.synaptics.elvis.Elvis
Utility field used by bound properties.
propertyChangeSupport - Variable in class com.synaptics.elvis.ElvisComm
Utility field used by bound properties.
propertySupport - Variable in class com.synaptics.elvis.Elvis
 
propertySupport - Variable in class com.synaptics.elvis.ElvisMessage
 
propertySupport - Variable in class com.synaptics.elvis.ElvisMessageFactory
 

R

removePropertyChangeListener(PropertyChangeListener) - Method in class com.synaptics.elvis.Elvis
Removes a PropertyChangeListener from the listener list.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.synaptics.elvis.ElvisComm
Removes a PropertyChangeListener from the listener list.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.synaptics.elvis.ElvisMessage
 
removePropertyChangeListener(PropertyChangeListener) - Method in class com.synaptics.elvis.ElvisMessageFactory
 
response - Variable in class com.synaptics.elvis.ElvisResult
The ok/fail part of the result.
run() - Method in class com.synaptics.elvis.ElvisComm
Wait for connections from other Elvises.

S

SEPARATOR - Static variable in class com.synaptics.elvis.ElvisMessage
 
SETTINGS_DIRECTORY - Static variable in class com.synaptics.elvis.ElvisComm
This is where we keep the file with the public information about Elvis.
STATUS_PROPERTY - Static variable in class com.synaptics.elvis.ElvisComm
 
scrollPane - Variable in class com.synaptics.elvis.ElvisTest
 
server - Variable in class com.synaptics.elvis.ElvisComm
 
setData(String) - Method in class com.synaptics.elvis.ElvisMessage
Set the message's data.
setFeedback(String) - Method in class com.synaptics.elvis.Elvis
Update the feedback string and notify any listeners.
setHandler(ElvisHandler) - Method in class com.synaptics.elvis.Elvis
Set the Handler for this Elvis.
setHandler(ElvisHandler) - Method in class com.synaptics.elvis.ElvisComm
Specify a new handler for requests submitted to this Elvis.
setHandlerInternal(ElvisHandler) - Method in class com.synaptics.elvis.Elvis
Internal worker that actually does the handler setting.
setKey(String) - Method in class com.synaptics.elvis.ElvisMessage
Set the message's key.
setKeyword(String) - Method in class com.synaptics.elvis.ElvisMessage
Set the message's keyword.
setPort(int) - Method in class com.synaptics.elvis.Elvis
setPort should only be called at class instantiation time.
setProgram(String) - Method in class com.synaptics.elvis.Elvis
The program name can only be set internally, preferably at creation time.
setProgram(String) - Method in class com.synaptics.elvis.ElvisMessage
Set the program name.
setStatus(ElvisCommStatus) - Method in class com.synaptics.elvis.ElvisComm
Update the status.
setTheOneTrueElvis(boolean) - Method in class com.synaptics.elvis.Elvis
We can only set this ourselves.
start() - Method in class com.synaptics.elvis.ElvisComm
Start the listener.
status - Variable in class com.synaptics.elvis.ElvisComm
This is the status of the Listener.
stop() - Method in class com.synaptics.elvis.ElvisComm
Stops the server by inerrupting the thread, killing it and then closing the server itself.
succeed(String) - Static method in class com.synaptics.elvis.ElvisResult
Return a ElvisResult with a response of ElvisResponse.OK and the specified data string.

T

TIMEOUT - Static variable in class com.synaptics.elvis.ElvisCommStatus
We timed out waiting for the other Elvis to respond to us.
tServer - Variable in class com.synaptics.elvis.ElvisComm
 
theActualPort - Variable in class com.synaptics.elvis.ElvisComm
This is the actual port value we are listening to.
theOneTrueElvis - Variable in class com.synaptics.elvis.Elvis
A flag indicating whether we really are the King or not.
toString() - Method in class com.synaptics.elvis.ElvisCommStatus
Get the String associated with the status.
toString() - Method in class com.synaptics.elvis.ElvisMessage
Return the String representation of this message.
toString() - Method in class com.synaptics.elvis.ElvisRequest
Return the String associated with this request.
toString() - Method in class com.synaptics.elvis.ElvisResponse
Return the string value associated with this response.

V

valid(String) - Static method in class com.synaptics.elvis.ElvisCommStatus
 
valid(String) - Static method in class com.synaptics.elvis.ElvisRequest
 
valid(String) - Static method in class com.synaptics.elvis.ElvisResponse
 

A C D E F G H I K L M N O P R S T V