|
||||||||||
| 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.osx.OSXConnector
public final class OSXConnector
Implementation of the connector for Mac OS X.
| 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. |
static void |
disableSkypeEventLoop()
|
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. |
protected void |
sendProtocol()
Sends the Skype API protocol version to use. |
| 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 static void disableSkypeEventLoop()
public boolean isRunning()
throws ConnectorException
Connector
isRunning in class ConnectorConnectorException - if checking the Skype client status failedpublic String getInstalledPath()
getInstalledPath in class Connector
protected void initializeImpl()
throws ConnectorException
initializeImpl in class ConnectorConnectorException - if the initialization failed.
protected Connector.Status connect(int timeout)
throws ConnectorException
connect in class Connectortimeout - the maximum time in milliseconds to connect.
ConnectorException - when connection can not be established.
protected void sendProtocol()
throws ConnectorException
Connector
sendProtocol in class ConnectorConnectorException - if sending the protocol version failedprotected void sendCommand(String command)
sendCommand in class Connectorcommand - 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 | |||||||||