|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.skype.connector.Connector
com.skype.connector.linux.LinuxConnector
public final class LinuxConnector
Implementation of the connector for Linux
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.skype.connector.Connector |
---|
Connector.Status |
Method Summary | |
---|---|
protected Connector.Status |
connect(int timeout)
Connects to Skype client. |
protected void |
disposeImpl()
Cleans up the connector and the native library. |
String |
getInstalledPath()
Gets the absolute path of Skype. |
static Connector |
getInstance()
Get singleton instance. |
protected void |
initializeImpl()
Initializes this connector. |
boolean |
isRunning()
Checks if the Skype client is running or not. |
protected void |
sendCommand(String command)
Sends a command to the Skype client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Connector getInstance()
public boolean isRunning() throws ConnectorException
Connector
isRunning
in class Connector
ConnectorException
- if checking the Skype client status failedpublic String getInstalledPath()
getInstalledPath
in class Connector
protected void initializeImpl() throws ConnectorException
initializeImpl
in class Connector
ConnectorException
- if the initialization failed.protected Connector.Status connect(int timeout) throws ConnectorException
connect
in class Connector
timeout
- the maximum time in milliseconds to connect.
ConnectorException
- when connection can not be established.protected void sendCommand(String command)
sendCommand
in class Connector
command
- The command to send.protected void disposeImpl()
disposeImpl
in class Connector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |