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

Quick Search    Search Deep

com.synaptics.elvis: Javadoc index of package com.synaptics.elvis.


Package Samples:

com.synaptics.elvis

Classes:

Elvis: Elvis is a package for implementing a singleton, not only within a JVM, but for a given user on a particular machine. Principles of operation. The model of use for Elvis is simple. An Elvis-enabled program calls Elvis.get() with a program name and a command handler. This name is used to (hopefully) uniquely identify the Elvis-enabled program and its functions. If Elvis can establish that he is indeed the only running instance of that particular program (for that user, on that machine), he will become the One True Elvis , and establish a thread that will listen for requests from other Elvis's (also ...
ElvisMessage: ElvisMessage is used internally by Elvis to both build and parse the messages exchanged between the One True Elvis and various impersonators. Each message has five fields: the Elvis identified field. This field is always the string "Elvis" the Elvis program name. This is the program name associated with this application. We check this to ensure that Elvis impersonators are talking to the One True Elvis they are expecting to talk to. the key. This is a random integer that helps to uniquely identify a particular instance of the One True Elvis. It is used mainly for security purposes - an attacker ...
ElvisHandler: ElvisHandler is the primitive interface for the handlers passed to ElvisHandler.get() . perform() will be called whenever the ElvisWatcher thread receives a request from an Elvis client. Implementors of ElvisHandler must be aware that they are not being called from the Swing notification thread, and handle their UI interactions accordingly. perform is not called in a thread-safe manner. If we are the One True Elvis, then it is quite possible for the local Elvis client to call perform from one of its threads at the same time as another Elvis client transmits a request to us. In this case, it we ...
ElvisCommStatus: ElvisCommStatus implements an enumeration of the various statuses than an ElvisComm may have. See the individual statuses for details of what they do. ElvisCommStatus is private to the elvis package, and should never be put in a position to be directly seen by clients. However, each status has a string associated with it that is more or less descriptive of the status. It is quite practical to pass this String to Elvis clients. ElvisCommStatus implements the typesafe enum design pattern, as described in Joshua Bloch's Effective Java .
ElvisTest: This is a handy dandy test program to verify the basic functionality of Elvis. Start it once, and it becomes the One True Elvis. Start it agin while the first instance is still running, and it will discover that first instance and send it some test requests. This program was created using Forte for Java CE 3.0. I highly recommend you use the same tool if you modify this program.
ElvisResponse: ElvisResponse implements an enumeration of the responses that an Elvis may send to its clients in response to ElvisRequests. See the individual responses for details of what they do. ElvisResponse implements the typesafe enum design pattern, as described in Joshua Bloch's Effective Java .
ElvisRequest: ElvisRequest implements an enumeration of the requests that a client may send to Elvis. See the individual requests for details of what they do. ElvisRequest implements the typesafe enum design pattern, as described in Joshua Bloch's Effective Java .
ElvisMessageFactory: The ElvisMessageFactory is just a handy utility for assembling ElvisMessages.
ElvisException: Used by the various components of Elvis when an Exception is needed.
ElvisComm
ElvisResult

Home | Contact Us | Privacy Policy | Terms of Service