|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jsampler.task.EnhancedTask
org.jsampler.task.SetServerAddress
public class SetServerAddress
This task sets the Linux Sampler address.
This needs to be done out of the event-dispatching thread due to
the synchronization of org.linuxsampler.lscp.Client methods
(setting the server address and port can be time consuming).
| Constructor Summary | |
|---|---|
SetServerAddress(java.lang.String address,
int port)
Creates new instance of SetServerAddress. |
|
| Method Summary | |
|---|---|
void |
run()
The entry point of the task. |
| Methods inherited from class org.jsampler.task.EnhancedTask |
|---|
isStopped, setErrorDetails, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetServerAddress(java.lang.String address,
int port)
SetServerAddress.
address - The Linux Sampler address.
If address is null, sets to default address - 127.0.0.1.port - The Linux Sampler port number.| Method Detail |
|---|
public void run()
|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||