|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.atunes.kernel.handlers.MultipleInstancesHandler
public class MultipleInstancesHandler
The Class MultipleInstancesHandler.
| Method Summary | |
|---|---|
void |
finish()
Called when aTunes finishes. |
static MultipleInstancesHandler |
getInstance()
Gets the single instance of MultipleInstancesHandler. |
boolean |
isFirstInstance()
Tries to open a server socket to listen to other aTunes instances. |
void |
sendArgumentsToFirstInstance(java.util.List<java.lang.String> args)
Opens a client socket and sends arguments to "master". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MultipleInstancesHandler getInstance()
public void finish()
public boolean isFirstInstance()
public void sendArgumentsToFirstInstance(java.util.List<java.lang.String> args)
args - the args
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||