com.breeweb.slimconnect.iface.delegate
Class Slimp3Connection

java.lang.Object
  extended bycom.breeweb.slimconnect.iface.delegate.Slimp3Connection

public class Slimp3Connection
extends java.lang.Object

Author:
Bas de Bree

Method Summary
 void close()
          Close the socket connection.
 ReturnData sendCommand(AbstractCommand aCommand)
          Sends an command to the Slimp3Server and returns the response as ReturnData object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sendCommand

public ReturnData sendCommand(AbstractCommand aCommand)
                       throws DataException
Sends an command to the Slimp3Server and returns the response as ReturnData object. This object can be implemenented for a specific command.

Parameters:
aCommand -
Returns:
a ReturnData object containing the server's response.
Throws:
DataException

close

public void close()
Close the socket connection.