public class MHostInfo
extends java.lang.Object
MHostInfo
class is used with the TIBCO Service Wrapper. The class
notifies the Win32 Service Control Manager (SCM) of an application's state.
It is also used by TIBCO BusinessWorks
and TIBCO Administrator
to monitor an adapter's status.
See also "MAdapterServiceInfo" in TIBCO Adapter SDK Programmer's Guide.Constructor and Description |
---|
MHostInfo(MApp p_app)
Creates an instance of
MHostInfo . |
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
getHostInfoElements()
Returns an enumeration to iterate through hostInfoelements.
|
void |
setAppInstance(java.lang.String p_appInstance)
Sets the application instance name.
|
void |
setAppName(java.lang.String p_appName)
Sets the application name.
|
void |
setAppState(MUserApplicationState p_appState)
Sets the state of the associated application.
|
void |
setExtendedInfo(java.lang.String p_extendedName,
java.lang.String p_extendedValue)
Sets additional information about the associated application.
|
public MHostInfo(MApp p_app)
MHostInfo
.p_app
- Adapter instance associated with this MHostInfopublic void setAppName(java.lang.String p_appName)
p_appName
- name of the application to be setpublic void setAppInstance(java.lang.String p_appInstance)
p_appInstance
- name of the application instancepublic void setAppState(MUserApplicationState p_appState)
p_appState
- application statepublic void setExtendedInfo(java.lang.String p_extendedName, java.lang.String p_extendedValue)
p_extendedName
- name for the additional information for the associated applicationp_extendedValue
- addition information for the associated applicationpublic java.util.Enumeration getHostInfoElements()