public final class OSXConnector extends Connector
Connector.Status| Modifier and Type | Method and Description |
|---|---|
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.
|
addConnectorListener, addConnectorListener, addConnectorListener, connect, dispose, execute, execute, execute, execute, execute, executeWithId, executeWithoutTimeout, fireMessageReceived, getApplicationName, getCommandTimeout, getConnectTimeout, getDebugOut, getStatus, getStringProperty, initialize, removeConnectorListener, sendApplicationName, setApplicationName, setCommandTimeout, setConnectTimeout, setDebug, setDebugOut, setDebugOut, setInstance, setStatus, setStringProperty, waitForEndWithIdpublic static Connector getInstance()
public static void disableSkypeEventLoop()
public boolean isRunning()
throws ConnectorException
ConnectorisRunning in class ConnectorConnectorException - if checking the Skype client status failedpublic String getInstalledPath()
getInstalledPath in class Connectorprotected 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
ConnectorsendProtocol 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 ConnectorCopyright © 2013. All Rights Reserved.