net.dpml.appliance
Interface ApplianceConnector

All Superinterfaces:
Remote

public interface ApplianceConnector
extends Remote

Appliance connector.


Method Summary
 void connect(Appliance appliance)
          Connect an appliance to the connector.
 Appliance getAppliance(TimeUnit units, int timeout)
          Retrieve the connected appliance.
 

Method Detail

connect

void connect(Appliance appliance)
             throws RemoteException
Connect an appliance to the connector.

Parameters:
appliance - the appliance
Throws:
RemoteException - if a remote error occurs

getAppliance

Appliance getAppliance(TimeUnit units,
                       int timeout)
                       throws IOException
Retrieve the connected appliance.

Parameters:
units - the timout units
timeout - duration (in units) to wait for a connection
Returns:
the appliance
Throws:
IOException - if an I/O error occurs