Package jade.wrapper
Interface PlatformEvent
-
- All Known Implementing Classes:
PlatformEvent
public interface PlatformEvent
NOT available in MIDP
-
-
Field Summary
Fields Modifier and Type Field Description static intBORN_AGENTString constant for the name of theborn-agentevent.static intDEAD_AGENTString constant for the name of thedead-agentevent.static intKILLED_PLATFORMString constant for the name of thekilled-platformevent.static intRESUMED_PLATFORMString constant for the name of theresumed-platformevent.static intSTARTED_PLATFORMString constant for the name of thestarted-platformevent.static intSUSPENDED_PLATFORMString constant for the name of thesuspended-platformevent.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAgentGUID()Retrieve the global agent name (i.e.intgetEventType()Retrieve the event type.StringgetPlatformName()Retrieve the platform name.
-
-
-
Field Detail
-
BORN_AGENT
static final int BORN_AGENT
String constant for the name of theborn-agentevent.- See Also:
- Constant Field Values
-
DEAD_AGENT
static final int DEAD_AGENT
String constant for the name of thedead-agentevent.- See Also:
- Constant Field Values
-
STARTED_PLATFORM
static final int STARTED_PLATFORM
String constant for the name of thestarted-platformevent.- See Also:
- Constant Field Values
-
SUSPENDED_PLATFORM
static final int SUSPENDED_PLATFORM
String constant for the name of thesuspended-platformevent.- See Also:
- Constant Field Values
-
RESUMED_PLATFORM
static final int RESUMED_PLATFORM
String constant for the name of theresumed-platformevent.- See Also:
- Constant Field Values
-
KILLED_PLATFORM
static final int KILLED_PLATFORM
String constant for the name of thekilled-platformevent.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAgentGUID
String getAgentGUID()
Retrieve the global agent name (i.e. the local name and the platform ID).- Returns:
- The global name of the agent this event refers to.
-
getPlatformName
String getPlatformName()
Retrieve the platform name.- Returns:
- The name of the platform this event refers to.
-
getEventType
int getEventType()
Retrieve the event type.- Returns:
- The type of this event.
-
-