|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activity
The interface provides a mechanism to control execution activities.
Services, in general, require some sort of execution context to be established; this may include a virtual machine (VM) or a J2EE application server, or some OS-level construct. To abstract this concept we introduce the notion of an activity as a hosting environment for services. The activity is the main "unit of execution" from the point of view of the EGO kernel.
Method Summary | |
---|---|
java.lang.String |
getActivityID()
Get ID of activity. |
ActivityInfo |
getActivityInfo()
Get detailed information of activity. |
ActivityRequest |
getActivityRequest()
Get request of activity. |
java.lang.String |
getAllocID()
Get ID of allocation. |
java.lang.String |
getClientName()
Get name of client. |
java.lang.String |
getConsumerName()
Get name of consumer. |
java.lang.String |
getResourceName()
Get name of resource on which the activity runs. |
ActivityState |
getState()
Get state of activity. |
void |
signal(Signal sig)
The operation is used by an EGO client to manage the state of an activity. |
Method Detail |
---|
void signal(Signal sig) throws EGOException
sig
- : indicates the POSIX signal name to be delivered to the Activity.
EGOException
java.lang.String getAllocID()
java.lang.String getConsumerName()
java.lang.String getResourceName()
java.lang.String getActivityID()
ActivityState getState()
ActivityRequest getActivityRequest()
java.lang.String getClientName()
ActivityInfo getActivityInfo() throws EGOException
EGOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |