Project Wonder 5.0

com.webobjects.monitor._private
Class MHost

java.lang.Object
  extended by com.webobjects.monitor._private.MObject
      extended by com.webobjects.monitor._private.MHost
All Implemented Interfaces:
NSKeyValueCoding

public class MHost
extends MObject


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Field Summary
 boolean isAvailable
           
static String MAC_HOST_TYPE
           
 String operatingSystem
           
 String processorType
           
 String runningInstances
          ******** Machine Information and Availability Check (Used by MONITOR) *********
static String UNIX_HOST_TYPE
           
static String WINDOWS_HOST_TYPE
           
 
Fields inherited from class com.webobjects.monitor._private.MObject
_emptyString, _GET, _HTTP1, _POST, _zeroInteger, adaptorValues, adminActionStringPostfix, adminActionStringPrefix, ALIVE, CRASHING, DEAD, directActionString, halfHourAsSeconds, hostTypeArray, loadSchedulerArray, loadSchedulerArrayValues, schedulingIntervalArray, schedulingIntervals, schedulingTypeArray, STARTING, stateArray, STOPPING, timeOfDayArray, timesOfDay, UNKNOWN, urlVersionArray, values, weekArray, weekNames
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
_CLASS, NullValue
 
Constructor Summary
MHost(MSiteConfig aConfig, String name, String type)
          Constructors *********
MHost(NSDictionary aValuesDict, MSiteConfig aConfig)
           
 
Method Summary
 void _addInstancePrimitive(MInstance anInstance)
          Adding and Removing Instance Primitives *********
 void _removeInstancePrimitive(MInstance anInstance)
           
 void _setHostInfo(NSDictionary _hostStats)
           
 InetAddress address()
           
 String addressAsString()
           
 NSArray applicationArray()
           
 NSDictionary dictionaryForArchive()
          Archiving Support *********
 boolean equals(Object other)
           
 int hashCode()
           
 NSMutableArray instanceArray()
           
 MInstance instanceWithPort(Integer port)
           
 boolean isPortInUse(Integer port)
           
 String name()
          'values' accessors *********
 Integer nextAvailablePort(Integer startingPort)
           
 String osType()
           
 Integer runningInstancesCount_W()
           
 WOResponse sendRequestToWotaskd(WORequest aRequest, boolean willChange, boolean isSync)
           
static WOResponse[] sendRequestToWotaskdArray(NSData content, NSArray wotaskdArray, boolean willChange)
          Communications Goop *********
 void setName(String value)
           
 void setOsType(String value)
           
 String toString()
           
 
Methods inherited from class com.webobjects.monitor._private.MObject
canAccessFieldsDirectly, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, morphedSchedulingStartDay, morphedSchedulingStartDay, morphedSchedulingStartTime, morphedSchedulingStartTime, setValues, siteConfig, takeValueForKey, takeValueForKeyPath, unableToSetNullForKey, updateValues, validatedHostType, validatedInteger, validatedLifebeatInterval, validatedOutputPath, validatedSchedulingStartDay, validatedSchedulingStartTime, validatedSchedulingType, validatedStats, validatedUrlVersion, valueForKey, valueForKeyPath, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAC_HOST_TYPE

public static final String MAC_HOST_TYPE
See Also:
Constant Field Values

WINDOWS_HOST_TYPE

public static final String WINDOWS_HOST_TYPE
See Also:
Constant Field Values

UNIX_HOST_TYPE

public static final String UNIX_HOST_TYPE
See Also:
Constant Field Values

runningInstances

public String runningInstances
******** Machine Information and Availability Check (Used by MONITOR) *********


operatingSystem

public String operatingSystem

processorType

public String processorType

isAvailable

public boolean isAvailable
Constructor Detail

MHost

public MHost(MSiteConfig aConfig,
             String name,
             String type)
Constructors *********


MHost

public MHost(NSDictionary aValuesDict,
             MSiteConfig aConfig)
Method Detail

name

public String name()
'values' accessors *********


setName

public void setName(String value)

osType

public String osType()

setOsType

public void setOsType(String value)

instanceArray

public NSMutableArray instanceArray()

applicationArray

public NSArray applicationArray()

_addInstancePrimitive

public void _addInstancePrimitive(MInstance anInstance)
Adding and Removing Instance Primitives *********


_removeInstancePrimitive

public void _removeInstancePrimitive(MInstance anInstance)

address

public InetAddress address()

addressAsString

public String addressAsString()

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

dictionaryForArchive

public NSDictionary dictionaryForArchive()
Archiving Support *********


toString

public String toString()
Overrides:
toString in class Object

runningInstancesCount_W

public Integer runningInstancesCount_W()

isPortInUse

public boolean isPortInUse(Integer port)

nextAvailablePort

public Integer nextAvailablePort(Integer startingPort)

instanceWithPort

public MInstance instanceWithPort(Integer port)

_setHostInfo

public void _setHostInfo(NSDictionary _hostStats)

sendRequestToWotaskdArray

public static WOResponse[] sendRequestToWotaskdArray(NSData content,
                                                     NSArray wotaskdArray,
                                                     boolean willChange)
Communications Goop *********


sendRequestToWotaskd

public WOResponse sendRequestToWotaskd(WORequest aRequest,
                                       boolean willChange,
                                       boolean isSync)

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.