|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CloudWorker
This class provides a connection to a computing instance working in a cloud environment, called worker. It controls the instance and the connection channel.
Method Summary | |
---|---|
Serializable |
receive()
Waits for the next message from the worker. |
void |
send(Serializable msg)
Sends the given object to the worker. |
void |
setParameter(Properties param)
The given set of parameters will be used by this class to start and control the worker. |
void |
shutdown()
Shuts down the worker. |
void |
startInstance()
Starts the worker and connects to it. |
Method Detail |
---|
void setParameter(Properties param)
param
- Parameters.void startInstance() throws CloudException
CloudException
void shutdown() throws CloudException
CloudException
void send(Serializable msg) throws CloudException
msg
- Serializable
object to be sent.
CloudException
Serializable receive() throws CloudException
CloudException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |