A B C D E G H I L M N P R S T U W

A

addServiceControlListener(ServiceControlListener) - Method in class net.sourceforge.jsrvany.ServiceControlManager
add a specified ServiceControlListener
args - Static variable in class net.sourceforge.jsrvany.debug.Debugger
 

B

Bus - class net.sourceforge.jsrvany.test.Bus.
This class is a bus for copying data to multiple objects
Bus() - Constructor for class net.sourceforge.jsrvany.test.Bus
default constructor
BusListener - interface net.sourceforge.jsrvany.test.BusListener.
This interface holds the methods any class acting as a BusListener must implement

C

ChatServer - class net.sourceforge.jsrvany.test.ChatServer.
This class implements an SimpleServer
ChatServer() - Constructor for class net.sourceforge.jsrvany.test.ChatServer
default constructor
ChatServerThread - class net.sourceforge.jsrvany.test.ChatServerThread.
This class is a single thread started by ChatServer
ChatServerThread(Socket, Bus) - Constructor for class net.sourceforge.jsrvany.test.ChatServerThread
Constructor assigning socket
CommandLineParser - class net.sourceforge.jsrvany.util.CommandLineParser.
This accepts command line arguments in the form "-option parameter" or just "parameter" and provides a number of methods to retrive them for use
CommandLineParser(String[]) - Constructor for class net.sourceforge.jsrvany.util.CommandLineParser
constructor - accepts String[] from main
communicate() - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementationThread
implement the comms
communicate() - Method in class net.sourceforge.jsrvany.test.ChatServerThread
implement the comms
ContinueServiceControlEvent - class net.sourceforge.jsrvany.ContinueServiceControlEvent.
This class is the event created by the winNT Service Control Panel
ContinueServiceControlEvent(Object) - Constructor for class net.sourceforge.jsrvany.ContinueServiceControlEvent
constructor specifying the source of the event
count(String) - Method in class net.sourceforge.jsrvany.util.CommandLineParser
count the number of parameters submitted with this option

D

Debugger - class net.sourceforge.jsrvany.debug.Debugger.
This class implements an SimpleServer
Debugger() - Constructor for class net.sourceforge.jsrvany.debug.Debugger
default constructor
DebuggerThread - class net.sourceforge.jsrvany.debug.DebuggerThread.
This class is a single thread started by Debugger
DebuggerThread.WorkerThread - class net.sourceforge.jsrvany.debug.DebuggerThread.WorkerThread.
A separate Thread object is used to run the main class invoked by by the user
DebuggerThread.WorkerThread(DebuggerThread, String[]) - Constructor for class net.sourceforge.jsrvany.debug.DebuggerThread.WorkerThread
construct a WorkerThread
DebuggerThread(Socket, Debugger) - Constructor for class net.sourceforge.jsrvany.debug.DebuggerThread
Constructor assigning socket

E

enumerate() - Method in class net.sourceforge.jsrvany.util.CommandLineParser
Enumerate all options and parameters
enumerateKeys() - Method in class net.sourceforge.jsrvany.util.CommandLineParser
Enumerate all options
enumerateListeners() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
enumerate through the listeners registered with this ServiceControlManager

G

get(String) - Method in class net.sourceforge.jsrvany.util.CommandLineParser
Gets the first parameter for a particular option
getEnumeration(String) - Method in class net.sourceforge.jsrvany.util.CommandLineParser
Gets enumeration of all parameters associated with a particular option
getException() - Method in class net.sourceforge.jsrvany.ServiceControlException
get the Throwable object wrapped by this ServiceControlException (ie.
getHandle() - Method in interface net.sourceforge.jsrvany.test.BusListener
get the handle of this listener
getHandle() - Method in class net.sourceforge.jsrvany.test.ChatServerThread
get the handle of this listener
getInstance() - Static method in class net.sourceforge.jsrvany.ServiceControlManager
get the one allowed instance of this singleton ServiceControlManager
getLastWriteDate() - Method in interface net.sourceforge.jsrvany.test.BusListener
get the date-time of last write
getLastWriteDate() - Method in class net.sourceforge.jsrvany.test.ChatServerThread
get the date-time of last write
getRegisterDate() - Method in interface net.sourceforge.jsrvany.test.BusListener
get the date-time of registration
getRegisterDate() - Method in class net.sourceforge.jsrvany.test.ChatServerThread
get the date-time of registration
getServiceControlListeners() - Method in class net.sourceforge.jsrvany.ServiceControlManager
get all ServiceControlListeners registered with this ServiceControlManager
getStringArray(String) - Method in class net.sourceforge.jsrvany.util.CommandLineParser
Gets enumeration of all parameters associated with a particular option

H

handleServiceControlEvent(ContinueServiceControlEvent) - Method in interface net.sourceforge.jsrvany.ServiceControlListener
handle a ContinueServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(ContinueServiceControlEvent) - Method in class net.sourceforge.jsrvany.SimpleListener
handle a ContinueServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(ContinueServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
handle a ContinueServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(ContinueServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.ChatServer
handle a ContinueServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(ContinueServiceControlEvent) - Method in class net.sourceforge.jsrvany.debug.Debugger
handle a ContinueServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(InterrogateServiceControlEvent) - Method in interface net.sourceforge.jsrvany.ServiceControlListener
handle a InterrogateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(InterrogateServiceControlEvent) - Method in class net.sourceforge.jsrvany.SimpleListener
handle a InterrogateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(InterrogateServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
handle a InterrogateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(InterrogateServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.ChatServer
handle a InterrogateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(InterrogateServiceControlEvent) - Method in class net.sourceforge.jsrvany.debug.Debugger
handle a InterrogateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(PauseServiceControlEvent) - Method in interface net.sourceforge.jsrvany.ServiceControlListener
handle a PauseServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(PauseServiceControlEvent) - Method in class net.sourceforge.jsrvany.SimpleListener
handle a PauseServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(PauseServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
handle a PauseServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(PauseServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.ChatServer
handle a PauseServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(PauseServiceControlEvent) - Method in class net.sourceforge.jsrvany.debug.Debugger
handle a PauseServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(ServiceControlEvent) - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
handle a StartServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StartServiceControlEvent) - Method in interface net.sourceforge.jsrvany.ServiceControlListener
handle a StartServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StartServiceControlEvent) - Method in class net.sourceforge.jsrvany.SimpleListener
handle a StartServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StartServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
handle a StartServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StartServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.ChatServer
handle a StartServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StartServiceControlEvent) - Method in class net.sourceforge.jsrvany.debug.Debugger
handle a StartServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StopServiceControlEvent) - Method in interface net.sourceforge.jsrvany.ServiceControlListener
handle a StopServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StopServiceControlEvent) - Method in class net.sourceforge.jsrvany.SimpleListener
handle a StopServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StopServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
handle a StopServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StopServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.ChatServer
handle a StopServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(StopServiceControlEvent) - Method in class net.sourceforge.jsrvany.debug.Debugger
handle a StopServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(TerminateServiceControlEvent) - Method in interface net.sourceforge.jsrvany.ServiceControlListener
handle a TerminateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(TerminateServiceControlEvent) - Method in class net.sourceforge.jsrvany.SimpleListener
handle a TerminateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(TerminateServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
handle a TerminateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(TerminateServiceControlEvent) - Method in class net.sourceforge.jsrvany.test.ChatServer
handle a TerminateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs
handleServiceControlEvent(TerminateServiceControlEvent) - Method in class net.sourceforge.jsrvany.debug.Debugger
handle a TerminateServiceControlEvent This method is called by the ServiceControlManager when the appropriate event occurs

I

InterrogateServiceControlEvent - class net.sourceforge.jsrvany.InterrogateServiceControlEvent.
This class is the event created by the winNT Service Control Panel
InterrogateServiceControlEvent(Object) - Constructor for class net.sourceforge.jsrvany.InterrogateServiceControlEvent
constructor specifying the source of the event

L

listen(int) - Method in interface net.sourceforge.jsrvany.util.SimpleServer
listen on a port
listen(int) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
listen on a port
listen(int) - Method in class net.sourceforge.jsrvany.test.ChatServer
listen on a port
listen(int) - Method in class net.sourceforge.jsrvany.debug.Debugger
listen on a port

M

main(String[]) - Static method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
main entry point
main(String[]) - Static method in class net.sourceforge.jsrvany.test.ChatServer
main entry point
main(String[]) - Static method in class net.sourceforge.jsrvany.debug.Debugger
main entry point
main(String[]) - Static method in class net.sourceforge.jsrvany.util.CommandLineParser
main entry point - mainly for development and testing

N

notify(String) - Method in interface net.sourceforge.jsrvany.test.BusListener
Notify a BusListener of new data on the bus
notify(String) - Method in class net.sourceforge.jsrvany.test.ChatServerThread
the bus has notified the listener of new bus data
notifyAllListeners(ContinueServiceControlEvent) - Method in class net.sourceforge.jsrvany.ServiceControlManager
notify all registered listeners of a ServiceControlEvent
notifyAllListeners(InterrogateServiceControlEvent) - Method in class net.sourceforge.jsrvany.ServiceControlManager
notify all registered listeners of a ServiceControlEvent
notifyAllListeners(PauseServiceControlEvent) - Method in class net.sourceforge.jsrvany.ServiceControlManager
notify all registered listeners of a ServiceControlEvent
notifyAllListeners(StartServiceControlEvent) - Method in class net.sourceforge.jsrvany.ServiceControlManager
notify all registered listeners of a ServiceControlEvent
notifyAllListeners(StopServiceControlEvent) - Method in class net.sourceforge.jsrvany.ServiceControlManager
notify all registered listeners of a ServiceControlEvent
notifyAllListeners(TerminateServiceControlEvent) - Method in class net.sourceforge.jsrvany.ServiceControlManager
notify all registered listeners of a ServiceControlEvent

P

pause() - Method in class net.sourceforge.jsrvany.test.Bus
signal to Threads using this bus that they must pause
PauseServiceControlEvent - class net.sourceforge.jsrvany.PauseServiceControlEvent.
This class is the event created by the winNT Service Control Panel
PauseServiceControlEvent(Object) - Constructor for class net.sourceforge.jsrvany.PauseServiceControlEvent
constructor specifying the source of the event
performAction(int) - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
perform the selected action

R

readSelection() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
accept a selection from the menu
registerBusListener(BusListener) - Method in class net.sourceforge.jsrvany.test.Bus
register a listener
removeAllServiceControlListener() - Method in class net.sourceforge.jsrvany.ServiceControlManager
remove all ServiceControListeners registered with this manager
removeServiceControlListener(ServiceControlListener) - Method in class net.sourceforge.jsrvany.ServiceControlManager
remove a specified ServiceControlListener
run() - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementationThread
run this thread
run() - Method in class net.sourceforge.jsrvany.test.ChatServerThread
run this thread
run() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
run this thread
run() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread.WorkerThread
run the main class in a separate Thread
runMain() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
run the class selected

S

ServiceControlEvent - class net.sourceforge.jsrvany.ServiceControlEvent.
This class is the iabstract base class of a family of events created by the winNT Service Control Panel
ServiceControlEvent(Object) - Constructor for class net.sourceforge.jsrvany.ServiceControlEvent
constructor specifying the source of the event
ServiceControlException - exception net.sourceforge.jsrvany.ServiceControlException.
This class is an ServiceControlException, thrown by an object implementing handleServiceControlException
ServiceControlException(String, Throwable) - Constructor for class net.sourceforge.jsrvany.ServiceControlException
Constructs a new ServiceControlException with the specified detail message as a wrapper around the lower level Throwable object.
ServiceControlException(Throwable) - Constructor for class net.sourceforge.jsrvany.ServiceControlException
Constructs a new ServiceControlException as a wrapper around the lower-level Throwable object that is the root cause
ServiceControlListener - interface net.sourceforge.jsrvany.ServiceControlListener.
This interface holds the methods any class acting as a ServiceControlListener must implement
ServiceControlManager - class net.sourceforge.jsrvany.ServiceControlManager.
This class is a ServiceControlManager implemented as a singleton.
setSoTimeout(int) - Method in interface net.sourceforge.jsrvany.util.SimpleServer
set the readtimeout on the socket
setSoTimeout(int) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementation
set the readtimeout on the socket
setSoTimeout(int) - Method in class net.sourceforge.jsrvany.test.ChatServer
set the readtimeout on the socket
setSoTimeout(int) - Method in class net.sourceforge.jsrvany.debug.Debugger
set the readtimeout on the socket
showArgs() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
run the class selected
showJVMOptions() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
show the JVM options this class will run with
showMenu() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
show the menu
SimpleListener - class net.sourceforge.jsrvany.SimpleListener.
This implements ServiceControlListener with empty handleServiceControlEvent methods.
SimpleListener() - Constructor for class net.sourceforge.jsrvany.SimpleListener
 
SimpleServer - interface net.sourceforge.jsrvany.util.SimpleServer.
This interface reprements an EXTREMELY simple socket Server
SimpleServerImplementation - class net.sourceforge.jsrvany.test.SimpleServerImplementation.
This class implements an SimpleServer
SimpleServerImplementation() - Constructor for class net.sourceforge.jsrvany.test.SimpleServerImplementation
default constructor
SimpleServerImplementationThread - class net.sourceforge.jsrvany.test.SimpleServerImplementationThread.
This class is a single thread started by SimpleServerImplementation
SimpleServerImplementationThread(Socket) - Constructor for class net.sourceforge.jsrvany.test.SimpleServerImplementationThread
Constructor assigning socket
StartServiceControlEvent - class net.sourceforge.jsrvany.StartServiceControlEvent.
This class is the event created by the winNT Service Control Panel
StartServiceControlEvent(Object) - Constructor for class net.sourceforge.jsrvany.StartServiceControlEvent
constructor specifying the source of the event
stopRunning() - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementationThread
signal thread to stop running
stopRunning() - Method in class net.sourceforge.jsrvany.test.ChatServerThread
signal thread to stop running
stopRunning() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
signal thread to stop running
StopServiceControlEvent - class net.sourceforge.jsrvany.StopServiceControlEvent.
This class is the event created by the winNT Service Control Panel
StopServiceControlEvent(Object) - Constructor for class net.sourceforge.jsrvany.StopServiceControlEvent
constructor specifying the source of the event

T

TerminateServiceControlEvent - class net.sourceforge.jsrvany.TerminateServiceControlEvent.
This class is the event created by the winNT Service Control Panel
TerminateServiceControlEvent(Object) - Constructor for class net.sourceforge.jsrvany.TerminateServiceControlEvent
constructor specifying the source of the event
triggerEvent() - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
trigger an event

U

unPause() - Method in class net.sourceforge.jsrvany.test.Bus
signal to Threads using this bus that they can continue
unRegisterBusListener(BusListener) - Method in class net.sourceforge.jsrvany.test.Bus
unregister a listener

W

write(BusListener, String) - Method in class net.sourceforge.jsrvany.test.Bus
write to the bus
write(String) - Method in class net.sourceforge.jsrvany.test.SimpleServerImplementationThread
write to the client
write(String) - Method in class net.sourceforge.jsrvany.test.ChatServerThread
write to the client
write(String) - Method in class net.sourceforge.jsrvany.debug.DebuggerThread
write to the client

A B C D E G H I L M N P R S T U W