C F G M N O P R S T _

C

com.roeschter.jsl - package com.roeschter.jsl
 
cont() - Static method in class com.roeschter.jsl.TelnetEcho
 

F

find(Stopable) - Method in class com.roeschter.jsl.ServiceStopper
 

G

get() - Static method in class com.roeschter.jsl.ServiceStopper
 

M

main(String[]) - Static method in class com.roeschter.jsl.ServiceStopper
Stop the service on the default port.
main(String[]) - Static method in class com.roeschter.jsl.SimpleService
The main method called when the service starts.
main(String[]) - Static method in class com.roeschter.jsl.SimpleStopper
 
main(String[]) - Static method in class com.roeschter.jsl.TelnetEcho
The main method called when the service starts.

N

next - Variable in class com.roeschter.jsl.ServiceStopper.Stopper
 

O

onServiceStop() - Method in class com.roeschter.jsl.SimpleService
Here the telnet server implements the Stopable interface On exit close the server cocket on port 23
onServiceStop() - Method in class com.roeschter.jsl.SimpleStopper
 
onServiceStop() - Method in interface com.roeschter.jsl.Stopable
Called when the service is about to stop.
onServiceStop() - Method in class com.roeschter.jsl.TelnetEcho
Here the telnet server implements the Stopable interface On exit close the server cocket on port 23

P

pause() - Static method in class com.roeschter.jsl.TelnetEcho
 
PORT - Static variable in class com.roeschter.jsl.ServiceStopper
Port for stopping the application.

R

run() - Method in class com.roeschter.jsl.ServiceStopper
 
run() - Method in class com.roeschter.jsl.TelnetEcho
Open server socket and wait for incoming connections
run() - Method in class com.roeschter.jsl.TelnetEcho.Echo
 

S

s - Variable in class com.roeschter.jsl.TelnetEcho.Echo
 
ServiceStopper - class com.roeschter.jsl.ServiceStopper.
Responsible for listening on a port for the service stop signal by the jsl process.
ServiceStopper.Stopper - class com.roeschter.jsl.ServiceStopper.Stopper.
 
ServiceStopper.Stopper(Stopable) - Constructor for class com.roeschter.jsl.ServiceStopper.Stopper
 
ServiceStopper() - Constructor for class com.roeschter.jsl.ServiceStopper
 
ServiceStopper(ServiceStopper.Stopper) - Constructor for class com.roeschter.jsl.ServiceStopper
 
SimpleService - class com.roeschter.jsl.SimpleService.
A simple example for a java service.
SimpleService() - Constructor for class com.roeschter.jsl.SimpleService
 
SimpleStopper - class com.roeschter.jsl.SimpleStopper.
Most simple version of Stopable.
SimpleStopper() - Constructor for class com.roeschter.jsl.SimpleStopper
 
singleton - Static variable in class com.roeschter.jsl.ServiceStopper
 
ss - Variable in class com.roeschter.jsl.TelnetEcho
The server cocket which accepts connections
stop - Static variable in class com.roeschter.jsl.SimpleService
 
stop(Stopable) - Static method in class com.roeschter.jsl.ServiceStopper
Stop the stopable on exit.
stopable - Variable in class com.roeschter.jsl.ServiceStopper.Stopper
 
Stopable - interface com.roeschter.jsl.Stopable.
Implement stop to be informed when the service is about to stop.
stopAfter(Stopable, Stopable) - Static method in class com.roeschter.jsl.ServiceStopper
Stop the stopable on exit.
stopAll() - Method in class com.roeschter.jsl.ServiceStopper
 
stopit() - Static method in class com.roeschter.jsl.SimpleService
 
stopper - Variable in class com.roeschter.jsl.ServiceStopper
The queue that a single stop thread will stop
stoppers - Variable in class com.roeschter.jsl.ServiceStopper
List of Stopable queues the singleton will stop on signal
stopSingle() - Method in class com.roeschter.jsl.ServiceStopper
 

T

TelnetEcho - class com.roeschter.jsl.TelnetEcho.
A simple example for a java service.
TelnetEcho.Echo - class com.roeschter.jsl.TelnetEcho.Echo.
The worker thread.
TelnetEcho.Echo(Socket) - Constructor for class com.roeschter.jsl.TelnetEcho.Echo
 
TelnetEcho() - Constructor for class com.roeschter.jsl.TelnetEcho
 
timeToWait() - Method in class com.roeschter.jsl.ServiceStopper
 
timeToWait() - Method in class com.roeschter.jsl.SimpleService
Don't wait if onServiceStop does not return.
timeToWait() - Method in class com.roeschter.jsl.SimpleStopper
 
timeToWait() - Method in interface com.roeschter.jsl.Stopable
How long should the ServiceStopper wait (in milliseconds) for the stop thread to die? 0 waits for ever.
timeToWait() - Method in class com.roeschter.jsl.TelnetEcho
Don't wait if onServiceStop does not return.

_

_stop(Stopable) - Method in class com.roeschter.jsl.ServiceStopper
 
_stopAfter(Stopable, Stopable) - Method in class com.roeschter.jsl.ServiceStopper
 

C F G M N O P R S T _