|
||||||||||
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.test.TestConnector
public final class TestConnector
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.skype.connector.Connector |
---|
Connector.Status |
Method Summary | |
---|---|
void |
addRecorder(Recorder recorder)
|
void |
clearPlayer()
|
protected Connector.Status |
connect(int timeout)
Tries to connect this connector to the Skype client on the platform mechanism. |
protected void |
disposeImpl()
Disconnects from the Skype client and clean up the resources of the platfrom. |
static TestConnector |
getInstance()
|
protected void |
initializeImpl()
Initializes the platform specific resources. |
static void |
main(String[] args)
|
void |
removeRecorder(Recorder recorder)
|
protected void |
sendCommand(String command)
Sends the specified command to the Skype client on the platform dependent communication layer. |
void |
setPlayer(Player player)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TestConnector getInstance()
public void addRecorder(Recorder recorder) throws ConnectorException
ConnectorException
public void removeRecorder(Recorder recorder) throws ConnectorException
ConnectorException
public void setPlayer(Player player) throws ConnectorException
ConnectorException
public void clearPlayer() throws ConnectorException
ConnectorException
protected void initializeImpl() throws ConnectorException
Connector
initializeImpl
in class Connector
ConnectorException
- if the initialization failed.protected Connector.Status connect(int timeout) throws ConnectorException
Connector
connect
in class Connector
timeout
- the connect timeout in milliseconds to use while connecting.
ConnectorException
- if the trying to connect failed.protected void sendCommand(String command)
Connector
sendCommand
in class Connector
command
- the command to be executedprotected void disposeImpl()
Connector
disposeImpl
in class Connector
public static void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |