|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.util.launchutils.ArgDelegator
class ArgDelegator
The ArgDelegator implements an utility for handling args that have been passed as command line arguments but that need the OSGi environment and SIP Communicator to be fully loaded. The class maintains a list of registered delegates (ArgDelegationPeers) that do the actual arg handling. The ArgDelegator is previewed for use with the SIP Communicator argdelegation service. It would therefore record all args until the corresponding DelegationPeer has registered here.
| Constructor Summary | |
|---|---|
ArgDelegator()
|
|
| Method Summary | |
|---|---|
void |
handleConcurrentInvocationRequest()
Called when the user has tried to launch a second instance of SIP Communicator while a first one was already running. |
protected void |
handleUri(String uriArg)
Passes the uriArg to the uri delegation peer or, in case no peer is currently registered, stores it and keeps it until one appears. |
void |
setDelegationPeer(ArgDelegationPeer delegationPeer)
Sets a delegation peer that we can now use to pass arguments to and makes it handle all arguments that have been already registered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ArgDelegator()
| Method Detail |
|---|
protected void handleUri(String uriArg)
uriArg - the uri argument that we'd like to delegate to our peer.public void setDelegationPeer(ArgDelegationPeer delegationPeer)
delegationPeer - the delegation peer that we can use to deliver
command line URIs to.public void handleConcurrentInvocationRequest()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||