| Package | Description |
|---|---|
| com.skype.connector |
Provides the classes for the connector
|
| com.skype.connector.linux |
Provides the connector for Linux
|
| com.skype.connector.osx |
Provides the connector for Max OS X
|
| com.skype.connector.win32 |
Provides the connector for Windows by JNI
|
| Modifier and Type | Class and Description |
|---|---|
class |
LoadLibraryException
This exception will be thrown when loading a library failed.
|
class |
NotAttachedException
This exception will be thrown when a command is sent to a connector but when the connector isn't connected.
|
class |
TimeOutException
This exception is thrown when a connector is working with a timeout.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connector.addConnectorListener(ConnectorListener listener)
Adds the specified listener to this connector.
|
void |
Connector.addConnectorListener(ConnectorListener listener,
boolean checkAttached)
Adds the specified listener to this connector.
|
void |
Connector.addConnectorListener(ConnectorListener listener,
boolean checkAttached,
boolean isSynchronous)
Adds the specified listener to this connector.
|
Connector.Status |
Connector.connect()
Tries to connect this connector to the Skype client.
|
protected abstract Connector.Status |
Connector.connect(int timeout)
Tries to connect this connector to the Skype client on the platform
mechanism.
|
void |
Connector.dispose()
Disconnects from the Skype client and clean up the resources.
|
protected abstract void |
Connector.disposeImpl()
Disconnects from the Skype client and clean up the resources of the
platfrom.
|
String |
Connector.execute(String command)
Executes the specified command and gets the response.
|
void |
Connector.execute(String command,
MessageProcessor processor)
Deprecated.
|
String |
Connector.execute(String command,
String responseHeader)
Executes the specified command and gets the response.
|
String |
Connector.execute(String command,
String[] responseHeaders)
Executes the specified command and gets the response.
|
protected String |
Connector.execute(String command,
String[] responseHeaders,
boolean checkAttached)
Executes the specified command and gets the response.
|
String |
Connector.executeWithId(String command,
String responseHeader)
Executes the specified command and gets the response using a command ID.
|
String |
Connector.executeWithoutTimeout(String command,
String responseHeader)
Executes the specified command and waits for the response without
timeout.
|
protected void |
Connector.initialize()
Initializes this connector.
|
protected abstract void |
Connector.initializeImpl()
Initializes the platform specific resources.
|
boolean |
Connector.isRunning()
Checks if the Skype client is running or not.
|
protected void |
Connector.sendApplicationName(String applicationName)
Sends the application name to the Skype client.
|
protected void |
Connector.sendProtocol()
Sends the Skype API protocol version to use.
|
void |
Connector.setDebug(boolean on)
Enable or disable debug printing for more information.
|
protected static void |
Connector.setInstance(Connector newInstance)
Sets the instance of the connector for test cases.
|
Future |
Connector.waitForEndWithId(String command,
String responseHeader,
NotificationChecker checker)
Executes the specified command and gets the future using a command ID.
|
| Modifier and Type | Method and Description |
|---|---|
protected Connector.Status |
LinuxConnector.connect(int timeout)
Connects to Skype client.
|
protected void |
LinuxConnector.initializeImpl()
Initializes this connector.
|
boolean |
LinuxConnector.isRunning() |
| Modifier and Type | Method and Description |
|---|---|
protected Connector.Status |
OSXConnector.connect(int timeout)
Connects to Skype client.
|
protected void |
OSXConnector.initializeImpl()
Initializes this connector.
|
boolean |
OSXConnector.isRunning() |
protected void |
OSXConnector.sendProtocol() |
| Modifier and Type | Method and Description |
|---|---|
protected Connector.Status |
Win32Connector.connect(int timeout)
Connect to Skype client.
|
protected void |
Win32Connector.sendApplicationName(String applicationName)
Send applicationname to Skype client.
|
Copyright © 2013. All Rights Reserved.