de.fzi.kadmos.cloud
Interface CloudController

All Known Implementing Classes:
AWSController

public interface CloudController

This class contains the connection from a computing instance in a cloud environment back to its controlling instance.

Since:
1.1.0
Version:
1.3.0
Author:
Carsten Daenschel

Method Summary
 void close()
          Closes the connection.
 void connect()
          Starts the Connection back to the controlling instance.
 Serializable receive()
          Waits for the next message from the controlling instance.
 void send(Serializable msg)
          Sends the given object to the controlling instance.
 void setParameter(Properties param)
          The given set of parameters will be used by this class to build a connection back to the controlling instance.
 

Method Detail

setParameter

void setParameter(Properties param)
The given set of parameters will be used by this class to build a connection back to the controlling instance.

Since:
1.1.0

connect

void connect()
             throws CloudException
Starts the Connection back to the controlling instance.

Throws:
CloudException
Since:
1.1.0

send

void send(Serializable msg)
          throws CloudException
Sends the given object to the controlling instance.

Parameters:
msg - Serializable object to be sent.
Throws:
CloudException
Since:
1.1.0

receive

Serializable receive()
                     throws CloudException
Waits for the next message from the controlling instance. Blocks until a Message is received or a CloudException is thrown.

Throws:
CloudException
Since:
1.1.0

close

void close()
           throws CloudException
Closes the connection.

Throws:
CloudException
Since:
1.1.0


Copyright © 2012. All Rights Reserved.